@qin-ui/antd-vue-pro 1.1.21 → 1.1.23
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 +0 -7
- package/es/form/{index-ef98f1fd.js → index-1cdda7ac.js} +50 -445
- package/es/form/index.js +5 -13
- package/es/index.d.ts +33 -287
- package/es/index.js +6 -14
- package/es/style.css +5 -5
- package/es/table/index.js +13 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,24 +39,19 @@ ant-design-vue ui组件库form组件的二次封装
|
|
|
39
39
|
| 参数名 | 说明 | 类型 | 默认值 |
|
|
40
40
|
| ------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------ |
|
|
41
41
|
| form | proform useForm返回对象,传递此参数后formData和fields参数将失效(推荐使用配套hook) | Form | |
|
|
42
|
-
| formData | 表单数据(推荐使用form) | object | |
|
|
43
|
-
| fields | 表单字段(推荐使用form) | Fields | |
|
|
44
42
|
| grid | 是否启用栅格布局 | boolean \| GridProps同[antdv Grid的RowProps](https://antdv.com/components/grid-cn/#api) | |
|
|
45
|
-
| autoCommandDisabled | 是否禁用字段规则 | boolean | false |
|
|
46
43
|
| 继承ant-design-vue form组件的所有参数 | [查看文档](https://antdv.com/components/form-cn#api) | ... | |
|
|
47
44
|
|
|
48
45
|
- Emits
|
|
49
46
|
|
|
50
47
|
| 事件参数名 | 说明 | 类型 | 默认值 |
|
|
51
48
|
| ------------------------------------- | ---------------------------------------------------- | --------------------- | ------ |
|
|
52
|
-
| update:formData | 更新props.formData表单数据(推荐使用form) | (val: object) => void | |
|
|
53
49
|
| 继承ant-design-vue form组件的所有事件 | [查看文档](https://antdv.com/components/form-cn#api) | ... | |
|
|
54
50
|
|
|
55
51
|
+ Expose
|
|
56
52
|
|
|
57
53
|
| 参数名 | 说明 | 类型 | 默认值 |
|
|
58
54
|
| ------------------------------------- | ------------------------------------------------------- | ---- | ------ |
|
|
59
|
-
| refs | 组件暴露的所有ref集合,包含formItems的ref以及field的ref | Refs | |
|
|
60
55
|
| 继承ant-design-vue form组件的所有方法 | [查看文档](https://antdv.com/components/form-cn#api) | ... | |
|
|
61
56
|
|
|
62
57
|
|
|
@@ -164,8 +159,6 @@ ant-design-vue ui组件库form组件的二次封装
|
|
|
164
159
|
fields?: Array<Field>;
|
|
165
160
|
/** 是否隐藏 */
|
|
166
161
|
hidden?: boolean;
|
|
167
|
-
/** 自动化指令 */
|
|
168
|
-
autoCommand?: AutoCommand;
|
|
169
162
|
/** formItem样式属性 */
|
|
170
163
|
style?: CSSProperties;
|
|
171
164
|
/** formItem样式类名 */
|