BUG 28138

This commit is contained in:
aixianling
2022-03-09 09:18:21 +08:00
parent 6d7442ec37
commit 05bd052689

View File

@@ -48,7 +48,7 @@ export default {
info: {}
}
},
onLoad() {
onShow() {
this.getArea().then(areaId => this.getDetail(areaId))
},
methods: {
@@ -65,7 +65,7 @@ export default {
areaId && this.$instance.post(`/app/appeveryvillagecode/queryDetailByAreaId`, null, {
params: {areaId}
}).then(res => {
if (res?.code === 0) {
if (res?.data) {
this.info = res.data
}
})