修复属性设置了默认值仍然返回undefined的问题。

master
vdpAdmin 2022-06-15 15:11:15 +08:00
parent 8056cb2fe0
commit 63ade5fb88
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
formConfig: Object,
optionData: { //prop
type: Object,
default: () => {}
default: () => ({})
},
},
provide() {

View File

@ -65,11 +65,11 @@
},
formData: { //prop
type: Object,
default: () => {}
default: () => ({})
},
optionData: { //prop
type: Object,
default: () => {}
default: () => ({})
},
previewState: { //
type: Boolean,