@icreate/ics-basic-form-builder
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name":"@icreate/ics-basic-form-builder", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "vue组件封装的表单设计器", | ||
@@ -5,0 +5,0 @@ "main": "form-builder.umd.min.js", |
@@ -40,2 +40,3 @@ | ||
<v-form-render | ||
ref="vFormRef" | ||
:form-json="formJson" | ||
@@ -46,3 +47,3 @@ :form-data="formData" | ||
@appendButtonClick="appendButtonClickHandler" | ||
ref="vFormRef" | ||
@formChange="handleFormChange" | ||
> | ||
@@ -70,2 +71,3 @@ </v-form-render> | ||
>appendButtonClickHandler : 输入框后置按钮的回调函数(选传) | ||
>handleFormChange: 表单数据改变时触发 | ||
>submitForm: 可以获取到表单数据formData | ||
@@ -430,4 +432,17 @@ | ||
}, | ||
handleFormChange( | ||
fieldName, | ||
newValue, | ||
oldValue, | ||
formDataModel, | ||
subFormName, | ||
subFormRowIndex | ||
) { | ||
//fieldName name | ||
//newValue 新值 | ||
//oldValue 旧值 | ||
//formDataModel 表单数据 | ||
}, | ||
}, | ||
} | ||
``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1431737
444