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