|
|
|
@ -328,23 +328,23 @@ export default { |
|
|
|
data.userAddress.type != 1 && |
|
|
|
data.userAddress.type != -1 |
|
|
|
) { |
|
|
|
this.addressValue = [ |
|
|
|
this.provinceId + |
|
|
|
"&" + |
|
|
|
data.userAddress.provinceName, |
|
|
|
this.cityId + |
|
|
|
"&" + |
|
|
|
data.userAddress.cityName, |
|
|
|
this.districtId + |
|
|
|
"&" + |
|
|
|
data.userAddress.districtName + |
|
|
|
"&" + |
|
|
|
data.userAddress.merchantNo |
|
|
|
]; |
|
|
|
localStorage.setItem( |
|
|
|
"cityName", |
|
|
|
this.addressValue.slice() |
|
|
|
); |
|
|
|
// this.addressValue = [ |
|
|
|
// this.provinceId + |
|
|
|
// "&" + |
|
|
|
// data.userAddress.provinceName, |
|
|
|
// this.cityId + |
|
|
|
// "&" + |
|
|
|
// data.userAddress.cityName, |
|
|
|
// this.districtId + |
|
|
|
// "&" + |
|
|
|
// data.userAddress.districtName + |
|
|
|
// "&" + |
|
|
|
// data.userAddress.merchantNo |
|
|
|
// ]; |
|
|
|
// localStorage.setItem( |
|
|
|
// "cityName", |
|
|
|
// this.addressValue.slice() |
|
|
|
// ); |
|
|
|
} |
|
|
|
// console.log(data.userAddress) |
|
|
|
if (data.userAddress.type == 1) { |
|
|
|
|