Coder Social home page Coder Social logo

Comments (2)

codebdy avatar codebdy commented on July 18, 2024

fieldy模块管理页面的数据模型,绑定的话直接给schema的x-field字段赋值就可以。比如示例中列表内数据的绑定:
image
这个绑定输入可以根据需要换成下拉选择,直接操作的是schema的x-field字段,渲染引擎会把这个信息解析成数据树,在逻辑编排时可以使用。
整个列表的数据,可以通过逻辑编排绑定:
image
在初始化事件中,获取数据,然后赋值给组件的datasource:
image
示例只是模拟,你可以做自己的逻辑组件,实现类似useSwr的效果

from rxdrag.

codebdy avatar codebdy commented on July 18, 2024

要是没有其他问题,我关issue了哈

from rxdrag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.