vxe-design 4.1.3 → 4.1.6

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
@@ -110,6 +110,39 @@ npm run serve
110
110
  npm run lib
111
111
  ```
112
112
 
113
+ ## 示例
114
+
115
+ ```html
116
+ <template>
117
+ <div>
118
+ <vxe-form-design :widgets="formDesignWidgets" :height="800" />
119
+ </div>
120
+ </template>
121
+
122
+ <script>
123
+ export default {
124
+ data() {
125
+ const formDesignWidgets = [
126
+ {
127
+ group: 'base',
128
+ children: [
129
+ 'VxeInput',
130
+ 'VxeTextarea',
131
+ 'VxeSelect',
132
+ 'VxeSwitch',
133
+ 'VxeRadioGroup',
134
+ 'VxeCheckboxGroup'
135
+ ]
136
+ }
137
+ ]
138
+ return {
139
+ formDesignWidgets
140
+ }
141
+ }
142
+ }
143
+ </script>
144
+ ```
145
+
113
146
  ## 贡献源码步骤
114
147
 
115
148
  1. 如果是修复 bug,必须有示例的复现链接