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