mirror of
				https://github.com/vform666/variant-form3-vite.git
				synced 2025-10-31 16:51:49 +08:00 
			
		
		
		
	修复属性设置了默认值仍然返回undefined的问题。
This commit is contained in:
		| @@ -49,7 +49,7 @@ | ||||
|       formConfig: Object, | ||||
|       optionData: { //prop传入的选项数据 | ||||
|         type: Object, | ||||
|         default: () => {} | ||||
|         default: () => ({}) | ||||
|       }, | ||||
|     }, | ||||
|     provide() { | ||||
|   | ||||
| @@ -63,11 +63,11 @@ | ||||
|       }, | ||||
|       formData: { //prop传入的表单数据 | ||||
|         type: Object, | ||||
|         default: () => {} | ||||
|         default: () => ({}) | ||||
|       }, | ||||
|       optionData: { //prop传入的选项数据 | ||||
|         type: Object, | ||||
|         default: () => {} | ||||
|         default: () => ({}) | ||||
|       }, | ||||
|       previewState: { //是否表单预览状态 | ||||
|         type: Boolean, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user