From 1e0580ba15ad4ae376fd71a26436393c889caca3 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Mon, 4 Sep 2023 10:27:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E5=85=A5=E9=A9=BBbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/m-city/m-city.vue | 4 +++- pages/passport/entry/seller/step1.vue | 9 +++++---- pages/passport/entry/seller/step3.vue | 21 ++++++++++++++------- 3 files changed, 22 insertions(+), 12 deletions(-) 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() {