bug
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div/>
|
||||
<span v-if="all" v-text="`省`" @click="selectNode({}, -1)"/>
|
||||
<span v-for="(area,i) in fullArea" :key="area.id" v-text="area.levelLabel"
|
||||
<span v-for="(area,i) in fullArea" :key="area.id" v-text="area.levelLabel || '村/社区'"
|
||||
@click="selectNode(area, i)"/>
|
||||
</div>
|
||||
<!--用来作为占位的-->
|
||||
@@ -169,6 +169,14 @@ export default {
|
||||
this.list.unshift(self)
|
||||
}
|
||||
this.scrollHeight()
|
||||
} else {
|
||||
if (this.areaId.substr(this.areaId.length - 3, 3) !== '000') {
|
||||
this.list = [{
|
||||
id: this.areaId,
|
||||
name: this.fullArea[0].name
|
||||
}]
|
||||
this.areaName = this.fullArea[0].name
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user