This commit is contained in:
曹辉 2023-04-07 09:58:21 +08:00
parent e77971ba94
commit 36658ba216
2 changed files with 12 additions and 0 deletions

View File

@ -177,6 +177,17 @@
children: data.data,
};
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.$set(this, 'scrollTop', 0)

View File

@ -170,6 +170,7 @@
this.infolist.address = ''
this.infolist.areaCode = ''
if (e && e.length >= 1) {
e = e.filter(ele => ele.localName != '暂不选择')
e.forEach(el => {
this.infolist.address = this.infolist.address + el.localName
})