修复表单onFormMounted事件中无法获取组件的问题。
parent
3e1ae97b04
commit
46ef8d00e8
|
@ -360,8 +360,10 @@
|
|||
this._provided.formConfig = newFormJsonObj.formConfig //强制更新provide的formConfig对象
|
||||
this.formJsonObj['widgetList'] = newFormJsonObj.widgetList
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.initFormObject()
|
||||
this.handleOnMounted()
|
||||
})
|
||||
} else {
|
||||
this.$message.error('Set form json failed.')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue