mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2024-11-10 09:39:20 +08:00
修复表单onFormMounted事件中无法获取组件的问题。
This commit is contained in:
parent
3e1ae97b04
commit
46ef8d00e8
@ -360,8 +360,10 @@
|
|||||||
this._provided.formConfig = newFormJsonObj.formConfig //强制更新provide的formConfig对象
|
this._provided.formConfig = newFormJsonObj.formConfig //强制更新provide的formConfig对象
|
||||||
this.formJsonObj['widgetList'] = newFormJsonObj.widgetList
|
this.formJsonObj['widgetList'] = newFormJsonObj.widgetList
|
||||||
|
|
||||||
this.initFormObject()
|
this.$nextTick(() => {
|
||||||
this.handleOnMounted()
|
this.initFormObject()
|
||||||
|
this.handleOnMounted()
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('Set form json failed.')
|
this.$message.error('Set form json failed.')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user