This commit is contained in:
shijingjing
2022-05-06 10:18:12 +08:00
parent e603f704cd
commit 5119c8d3fd
3 changed files with 1 additions and 5 deletions

View File

@@ -571,7 +571,6 @@ export default {
},
areaSelect(e) {
console.log(e);
this.form.currentAreaId = e
},
@@ -725,12 +724,10 @@ export default {
})
this.form = { ...this.form, ...res.data }
// this.form.currentAreaId = res.data.currentAreaId
if (this.form.photo) {
this.photo = [{url: this.form.photo}] || []
}
}
})
},

View File

@@ -104,7 +104,6 @@ export default {
if (res.code === 0) {
this.info = res.data
if(res.data.family && res.data.family.length) {
// console.log(res.data.family);
this.list = res.data.family.map(item => {
return {
...item,

View File

@@ -67,7 +67,7 @@ export default {
},
})
.then((res) => {
if (res.code == 0) {
if (res?.data) {
this.list = res.data.records
}
})