template-designer 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,11 +54,23 @@ const fields = ref([
|
|
|
54
54
|
// 配置动态联动属性 同 /props/(lodop或rfid).js中的propertyPanel配置 可多级
|
|
55
55
|
// 例如
|
|
56
56
|
propertyPanel: {
|
|
57
|
+
// 必选
|
|
57
58
|
prop: 'xxx',
|
|
59
|
+
// 必选
|
|
58
60
|
label: 'xxx',
|
|
61
|
+
// 必选
|
|
59
62
|
type: 'select',
|
|
63
|
+
// 必选
|
|
60
64
|
default: '',
|
|
65
|
+
// 必选 属性布局 full-独占一行 half-半行
|
|
61
66
|
layout: 'full',
|
|
67
|
+
// 可选 是否多选
|
|
68
|
+
multiple: false,
|
|
69
|
+
// 可选 属性描述(label后显示问好图标,hover显示)
|
|
70
|
+
desc: '',
|
|
71
|
+
// 可选 是否隐藏
|
|
72
|
+
hide: false,
|
|
73
|
+
// type为select必选
|
|
62
74
|
options: [
|
|
63
75
|
{
|
|
64
76
|
label: 'xxx',
|
|
@@ -69,7 +81,9 @@ const fields = ref([
|
|
|
69
81
|
type: 'select',
|
|
70
82
|
default: '',
|
|
71
83
|
layout: 'full',
|
|
72
|
-
options: [
|
|
84
|
+
options: [
|
|
85
|
+
...
|
|
86
|
+
]
|
|
73
87
|
}
|
|
74
88
|
},
|
|
75
89
|
...
|