bug
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
<div class="search">
|
||||
<div class="left">
|
||||
<AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666">
|
||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666">
|
||||
<u-icon name="map-fill" color="#3192F4" size="20px" style="vertical-align: text-bottom"></u-icon>
|
||||
<span style="margin-left: 4px" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
@@ -64,6 +64,7 @@ export default {
|
||||
computed: { ...mapState(['user']) },
|
||||
onShow() {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
document.title = '返乡登记'
|
||||
this.getList()
|
||||
this.getTotal()
|
||||
@@ -72,8 +73,11 @@ export default {
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
areaSelect() {
|
||||
areaSelect(e) {
|
||||
this.areaId =e
|
||||
this.$nextTick(() => {
|
||||
this.getListInit()
|
||||
})
|
||||
},
|
||||
tabClick(index) {
|
||||
this.tabIndex = index
|
||||
|
||||
Reference in New Issue
Block a user