mirror of
				https://github.com/vform666/variant-form3-vite.git
				synced 2025-11-01 01:01:48 +08:00 
			
		
		
		
	修复表单onFormMounted事件中无法获取组件的问题。
This commit is contained in:
		| @@ -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.$nextTick(() => { | ||||||
|               this.initFormObject() |               this.initFormObject() | ||||||
|               this.handleOnMounted() |               this.handleOnMounted() | ||||||
|  |             }) | ||||||
|           } else { |           } else { | ||||||
|             this.$message.error('Set form json failed.') |             this.$message.error('Set form json failed.') | ||||||
|           } |           } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user