Commit fd07d940 authored by Damon's avatar Damon

fix: 添加地址不拼接

parent 37a7e80c
......@@ -278,7 +278,7 @@ export default {
provinceName: this.region[0],
cityName: this.region[1],
districtName: this.region[2],
address: this.region.join("") + this.address
address: this.address
};
let res = await this.$u.api.updateAddress(params);
if (res && res.code == 200) {
......@@ -300,7 +300,7 @@ export default {
provinceName: this.region[0],
cityName: this.region[1],
districtName: this.region[2],
address: this.region.join("") + this.address
address: this.address
};
if (this.id) params.id = this.id
let res = await this.$u.api.saveMyAddress(params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment