mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:33:27 +08:00
【优化】添加个人地址,初始选择省市县弹窗的位置,根据后台商城设置的商家区域位置展示。
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
longitude: 0,
|
||||
latitude: 0,
|
||||
region: ['湖南省', '怀化市', '鹤城区'],
|
||||
areaId: 0,
|
||||
areaId: this.$store.state.config.reshipAreaId || 0,
|
||||
checked: false,
|
||||
pickerValue: '',
|
||||
submitStatus: false,
|
||||
@@ -192,7 +192,6 @@
|
||||
if (this.getType == 1) {
|
||||
this.form.address = location.address;
|
||||
}
|
||||
|
||||
console.log("location1:", location);
|
||||
}
|
||||
},
|
||||
@@ -214,7 +213,7 @@
|
||||
} else {
|
||||
//添加(取消初始化)
|
||||
//this.pickerValue = this.region[0] + " " + this.region[1] + " " + this.region[2];
|
||||
//this.init();
|
||||
this.init();
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
|
||||
Reference in New Issue
Block a user