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