mirror of
				https://github.com/vform666/variant-form3-vite.git
				synced 2025-10-31 00:31:48 +08:00 
			
		
		
		
	Merge remote-tracking branch 'origin/master'
This commit is contained in:
		| @@ -46,7 +46,7 @@ export const genVue3JS = function (formConfig, widgetList) { | ||||
|       const instance = getCurrentInstance() | ||||
|        | ||||
|       const submitForm = () => { | ||||
|         instance.ctx.$refs['vForm'].validate(valid => { | ||||
|         instance.proxy.$refs['vForm'].validate(valid => { | ||||
|           if (!valid) return | ||||
|            | ||||
|           //TODO: 提交表单 | ||||
| @@ -54,7 +54,7 @@ export const genVue3JS = function (formConfig, widgetList) { | ||||
|       } | ||||
|        | ||||
|       const resetForm = () => { | ||||
|         instance.ctx.$refs['vForm'].resetFields() | ||||
|         instance.proxy.$refs['vForm'].resetFields() | ||||
|       } | ||||
|        | ||||
|       return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user