general-basic-form 2.0.57 → 2.0.60
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 +7 -3
- package/dist/index.js +315 -296
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +64 -61
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## 一个兼容 Vue2 、Vue3 和 React(未来实现) 的表单组件,支持typescript,vue2请使用@1版本,Vue3请使用@2版本
|
|
4
4
|
|
|
5
|
-
| 组件\兼容性 | vue2 | vue3 | Ant Design Vue | Element Plus | Element(ui) |
|
|
5
|
+
| 组件\兼容性 | vue2 | vue3 | Ant Design Vue(next) | Element Plus | Element(ui) |
|
|
6
6
|
| ------------------- | ---- | ---- | ---- | ---- | ---- |
|
|
7
7
|
| VGeneralBasicForm | √ | √ | | √ | √ |
|
|
8
8
|
| VSearchBox | √ | | | | √ |
|
|
9
9
|
| VInfiniteScrollList | | √ | | √ | |
|
|
10
|
-
| VDescriptions |
|
|
10
|
+
| VDescriptions | √ | √ | √ | √ | √ |
|
|
11
11
|
| VInputMobilecVerification | | √ | √ | √ | |
|
|
12
12
|
| VInputGraphicVerification | | √ | √ | √ | |
|
|
13
13
|
| VTreeTransfer | √ | | | | √ |
|
|
@@ -562,7 +562,7 @@ descriptionsItemProps:a-descriptions-item|el-descriptions-item的配置
|
|
|
562
562
|
```
|
|
563
563
|
<VInputGraphicVerification :item="{同表单,可忽略label和rules字段}" :loading="loading"></VInputGraphicVerification>
|
|
564
564
|
|
|
565
|
-
<VInputMobilecVerification :item="{同表单,可忽略label和rules字段}" componentType="Ant Design Vue"></VInputMobilecVerification>
|
|
565
|
+
<VInputMobilecVerification :item="{同表单,可忽略label和rules字段}" componentType="Ant Design Vue" ref="VInputMobilecVerificationRef"></VInputMobilecVerification>
|
|
566
566
|
```
|
|
567
567
|
|
|
568
568
|
```
|
|
@@ -580,6 +580,10 @@ provide(/* 注入名 */ "Form", /* Ant Design Vue Form实例,用于表单数
|
|
|
580
580
|
可选:
|
|
581
581
|
provide("size", size); // 同组件size
|
|
582
582
|
provide("getList", getList); // 输入框回车触发
|
|
583
|
+
|
|
584
|
+
调用发送短信验证码和重置的方法
|
|
585
|
+
VInputMobilecVerificationRef.value.VerificationButtonRef.buttonClick()
|
|
586
|
+
VInputMobilecVerificationRef.value.VerificationButtonRef.reset()
|
|
583
587
|
```
|
|
584
588
|
|
|
585
589
|
安装:npm i general-basic-form<br/>
|