-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Dooring 可编辑组件 Schema 设计 #139
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dooring 可编辑组件 Schema 设计
Schema 分两部分:
editData 详解
editData
是 组件属性可编辑项的数组, 每一项里面包含了如下字段:key
和name
都可以按照组件属性的语义来定, 这里值得一提的是type
. 不同属性的值类型不同, 所以我们编辑项的type
也不同, 所有的类型如下:更详细的介绍可以访问 dooring 开发文档
config 详解
config
本质上是一个对象, 也就是组件所能暴露出来的属性集合, 和editData
数组每一项的key
一致, 如下:The text was updated successfully, but these errors were encountered: