bug
This commit is contained in:
@@ -571,7 +571,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
areaSelect(e) {
|
areaSelect(e) {
|
||||||
console.log(e);
|
|
||||||
this.form.currentAreaId = e
|
this.form.currentAreaId = e
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -725,12 +724,10 @@ export default {
|
|||||||
})
|
})
|
||||||
|
|
||||||
this.form = { ...this.form, ...res.data }
|
this.form = { ...this.form, ...res.data }
|
||||||
// this.form.currentAreaId = res.data.currentAreaId
|
|
||||||
|
|
||||||
if (this.form.photo) {
|
if (this.form.photo) {
|
||||||
this.photo = [{url: this.form.photo}] || []
|
this.photo = [{url: this.form.photo}] || []
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ export default {
|
|||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
if(res.data.family && res.data.family.length) {
|
if(res.data.family && res.data.family.length) {
|
||||||
// console.log(res.data.family);
|
|
||||||
this.list = res.data.family.map(item => {
|
this.list = res.data.family.map(item => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export default {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.code == 0) {
|
if (res?.data) {
|
||||||
this.list = res.data.records
|
this.list = res.data.records
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user