template-designer 0.10.0 → 0.10.2

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 CHANGED
@@ -50,7 +50,32 @@ const config = ref({
50
50
 
51
51
  const fields = ref([
52
52
  { label: '商品条码', value: 'goodsSn' },
53
- { label: '商品名称', value: 'goodsName' }
53
+ { label: '商品名称', value: 'goodsName', {
54
+ // 配置动态联动属性 同 /props/(lodop或rfid).js中的propertyPanel配置 可多级
55
+ // 例如
56
+ propertyPanel: {
57
+ prop: 'xxx',
58
+ label: 'xxx',
59
+ type: 'select',
60
+ default: '',
61
+ layout: 'full',
62
+ options: [
63
+ {
64
+ label: 'xxx',
65
+ value: 'xxx',
66
+ propertyPanel: {
67
+ prop: 'xxx',
68
+ label: 'xxx',
69
+ type: 'select',
70
+ default: '',
71
+ layout: 'full',
72
+ options: []
73
+ }
74
+ },
75
+ ...
76
+ ]
77
+ }
78
+ }, ...}
54
79
  ])
55
80
  </script>
56
81
  ```