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

master
vdpAdmin 2022-06-15 15:22:36 +08:00
parent 2a9c328362
commit 611775de95
2 changed files with 3 additions and 3 deletions

View File

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

View File

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