|
@@ -741,7 +741,7 @@ export default defineComponent({
|
|
|
if (!data.activeRule || data.validateForm.api[data.activeRule._id] !== data.activeRule) return
|
|
|
data.activeRule.validate = formData.validate || []
|
|
|
data.dragForm.api.refreshValidate()
|
|
|
- data.dragForm.api.nextTick()()()()()()()()()()(() => {
|
|
|
+ data.dragForm.api.nextTick(() => {
|
|
|
data.dragForm.api.clearValidateState(data.activeRule.__fc__.id)
|
|
|
})
|
|
|
},
|
|
@@ -802,7 +802,7 @@ export default defineComponent({
|
|
|
}
|
|
|
data.validateForm.value = { validate: rule.validate ? [...rule.validate] : [] }
|
|
|
data.dragForm.api.refreshValidate()
|
|
|
- data.dragForm.api.nextTick()()()()()()()()()()(() => {
|
|
|
+ data.dragForm.api.nextTick(() => {
|
|
|
data.dragForm.api.clearValidateState(rule.__fc__.id)
|
|
|
})
|
|
|
}
|
|
@@ -1036,10 +1036,10 @@ export default defineComponent({
|
|
|
}
|
|
|
data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children))
|
|
|
|
|
|
- defineExpose({
|
|
|
- initForm: methods.initForm,
|
|
|
- saveFormJson: methods.showJson
|
|
|
- })
|
|
|
+ // defineExpose({
|
|
|
+ // initForm: methods.initForm,
|
|
|
+ // saveFormJson: methods.showJson
|
|
|
+ // })
|
|
|
return {
|
|
|
editorRef,
|
|
|
...toRefs(data),
|