给定默认值

This commit is contained in:
aixianling
2024-10-31 11:30:09 +08:00
parent 9fa56ad890
commit 34eb7320fa

View File

@@ -137,7 +137,7 @@ export default {
params: {id}
}).then(res => {
if (res?.data) {
this.form = {...this.form, ...res.data}
this.form = {extra: {}, ...this.form, ...res.data}
}
})
},