给定默认值
This commit is contained in:
@@ -137,7 +137,7 @@ export default {
|
|||||||
params: {id}
|
params: {id}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.form = {...this.form, ...res.data}
|
this.form = {extra: {}, ...this.form, ...res.data}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user