26020
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
<div class="areaHint">
|
<div class="areaHint">
|
||||||
<u-icon name="map-fill" color="#73ABFF"></u-icon>
|
<u-icon name="map-fill" color="#73ABFF"></u-icon>
|
||||||
<span>{{ currentAddress }}</span>
|
<span>{{ resident.currentAreaName }}</span>
|
||||||
|
<span v-if="resident.currentAddress">{{ resident.currentAddress }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -59,7 +60,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
data: [],
|
data: [],
|
||||||
currentAddress: '',
|
resident: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
@@ -78,7 +79,7 @@ export default {
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.data = res.data
|
this.data = res.data
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.currentAddress = res.data.resident.currentAddress
|
this.resident = res.data.resident
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user