mirror of
https://gitee.com/was666/as-editor.git
synced 2025-04-28 00:00:11 +08:00
update README.md.
This commit is contained in:
parent
8163e8ced5
commit
d71e91cba7
22
README.md
22
README.md
@ -22,23 +22,23 @@
|
||||
##### 自定义组件可以看:
|
||||
|
||||
```js
|
||||
src/layout/home/index.vue (编辑页面文件)
|
||||
src/components/sliderassembly/index.vue (左侧组件大全文件)
|
||||
src/components/componentscom (左侧组件目录)
|
||||
src/components/rightslider (右侧组件目录)
|
||||
src/utils/componentProperties.js (组件数据)
|
||||
src/layout/home/index.vue // 编辑页面文件
|
||||
src/components/sliderassembly/index.vue // 左侧组件大全文件
|
||||
src/components/componentscom // 左侧组件目录
|
||||
src/components/rightslider // 右侧组件目录
|
||||
src/utils/componentProperties.js // 组件数据
|
||||
```
|
||||
|
||||
#### componentProperties(组件数据)字段注解
|
||||
|
||||
```js
|
||||
{
|
||||
component: 'custommodule', //中间部分手机组件的name
|
||||
text: '自定义模块',
|
||||
type: '1-14', // data-tpye
|
||||
active: true, // 是否选中
|
||||
style: 'custommodulestyle', //右边组件设置的name
|
||||
setStyle: {} // 组件动态数据
|
||||
component: 'custommodule', //中间部分手机组件的name
|
||||
text: '自定义模块', //组件文字描述
|
||||
type: '1-14', // data-tpye
|
||||
active: true, // 是否选中
|
||||
style: 'custommodulestyle', //右边组件设置的name
|
||||
setStyle: {} // 组件动态数据
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user