mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2025-01-25 15:39:13 +08:00
修复属性设置了默认值仍然返回undefined的问题。
This commit is contained in:
parent
2a9c328362
commit
611775de95
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user