-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
预设值与动态绑定 #79
Labels
操作说明
介绍设计器如何使用
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
预设值
像
文本
、条形码
等,即需要显示一些固定不变化的值,同时也需要跟据外部或接口的数据进行动态展示。因此像此类元素会设计成即支持固定值的输入也支持绑定数据进行动态替换。
其中在设计区中输入的固定不变的值即为预设值
动态值
设计器中自带的元素均支持数据的动态绑定,所有属性均支持数据绑定。
在面向使用者时,目前仅对少量元素的属性支持数据绑定,但在程序设计上是所有的均支持。
优先级
当同一个元素即有预设值和数据绑定时,数据绑定的优先级高
动态值绑定组件
数据组件目前有以下2类的数据绑定
该数据绑定组件为顺序绑定,只可对绑定数据进行排序。
常用于元素只绑定一个值(如
文本
)及多值按顺序(如折线图
)该数据绑定为固定绑定,只有放在相应位置的数据对相应的数据属性生效
常用于一个元素有多个数据绑定,且可以对部分属性进行数据绑定
The text was updated successfully, but these errors were encountered: