We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Schema 分两部分:
editData 是 组件属性可编辑项的数组, 每一项里面包含了如下字段:
editData
key和name 都可以按照组件属性的语义来定, 这里值得一提的是 type. 不同属性的值类型不同, 所以我们编辑项的 type 也不同, 所有的类型如下:
key
name
type
更详细的介绍可以访问 dooring 开发文档
config 本质上是一个对象, 也就是组件所能暴露出来的属性集合, 和 editData 数组每一项的key 一致, 如下:
config
{ cpName: 'Header', logoText: '', fontSize: 20, color: 'rgba(47,84,235,1)', height: 60, fixTop: false, menuList: [ { id: '1', title: '首页', link: '/' }, { id: '2', title: '产品介绍', link: '/' }, ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dooring 可编辑组件 Schema 设计
Schema 分两部分:
editData 详解
editData
是 组件属性可编辑项的数组, 每一项里面包含了如下字段:key
和name
都可以按照组件属性的语义来定, 这里值得一提的是type
. 不同属性的值类型不同, 所以我们编辑项的type
也不同, 所有的类型如下:更详细的介绍可以访问 dooring 开发文档
config 详解
config
本质上是一个对象, 也就是组件所能暴露出来的属性集合, 和editData
数组每一项的key
一致, 如下:The text was updated successfully, but these errors were encountered: