diff --git a/components/m-city/m-city.vue b/components/m-city/m-city.vue index b24fe46..c8e765a 100644 --- a/components/m-city/m-city.vue +++ b/components/m-city/m-city.vue @@ -180,6 +180,7 @@ export default { if (this.tabbars[index].id != item.id) { this.tabbars[index].localName = item.name; this.tabbars[index].id = item.id; + this.tabbars[index].center = item.center if (index < this.tabbars.length - 1) { this.tabbars.splice(index + 1, this.tabbars.length - index - 1); } @@ -195,6 +196,7 @@ export default { localName: "请选择", id: "", children: data.data.result, + }; this.tabbars.push(current); this.tabCurrentIndex++; @@ -387,4 +389,4 @@ export default { icon { margin-left: 40rpx; } - \ No newline at end of file + diff --git a/pages/passport/entry/seller/step1.vue b/pages/passport/entry/seller/step1.vue index e2392a2..4f86950 100644 --- a/pages/passport/entry/seller/step1.vue +++ b/pages/passport/entry/seller/step1.vue @@ -17,12 +17,12 @@ :border-bottom="false" prop="companyAddressPath" label="公司所在地" - > +
选择
+ +
选择
+ + +
选择
- -
开始定位
已成功定位
-
+ --> { if (item.id) { @@ -298,9 +303,11 @@ export default { } else { name += item.localName + ","; } - this.form.storeAddressPath = name; + this.$set(this.form,'storeAddressPath',name) } }); + + this.form.storeCenter = e[e.length-1].center }, // 显示三级地址联动 showPicker() {