修改
This commit is contained in:
parent
e77971ba94
commit
36658ba216
@ -177,6 +177,17 @@
|
|||||||
children: data.data,
|
children: data.data,
|
||||||
};
|
};
|
||||||
this.tabbars.push(current);
|
this.tabbars.push(current);
|
||||||
|
if (this.tabCurrentIndex == 2) {
|
||||||
|
this.tabbars[3].children.unshift({
|
||||||
|
areaCode: "",
|
||||||
|
areaLevel: 4,
|
||||||
|
areaName: "暂不选择",
|
||||||
|
children: null,
|
||||||
|
id: 999999,
|
||||||
|
parentId: 999999999,
|
||||||
|
sort: null,
|
||||||
|
})
|
||||||
|
}
|
||||||
this.tabCurrentIndex++;
|
this.tabCurrentIndex++;
|
||||||
// 当前距离重新为最上面
|
// 当前距离重新为最上面
|
||||||
this.$set(this, 'scrollTop', 0)
|
this.$set(this, 'scrollTop', 0)
|
||||||
|
|||||||
@ -170,6 +170,7 @@
|
|||||||
this.infolist.address = ''
|
this.infolist.address = ''
|
||||||
this.infolist.areaCode = ''
|
this.infolist.areaCode = ''
|
||||||
if (e && e.length >= 1) {
|
if (e && e.length >= 1) {
|
||||||
|
e = e.filter(ele => ele.localName != '暂不选择')
|
||||||
e.forEach(el => {
|
e.forEach(el => {
|
||||||
this.infolist.address = this.infolist.address + el.localName
|
this.infolist.address = this.infolist.address + el.localName
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user