Fix:5106 【商城小程序】选择地址页面,地址列表默认选中项逻辑错误
This commit is contained in:
@@ -975,6 +975,12 @@ export default {
|
||||
},
|
||||
addressTap(order) {
|
||||
this._orderId = order.orderId
|
||||
uni.setStorageSync('updateOrderSourceAddress', {
|
||||
id: order.addressId || order.userAddressId || '',
|
||||
realName: order.realName || '',
|
||||
phone: order.userPhone || '',
|
||||
userAddress: order.userAddress || ''
|
||||
})
|
||||
this.$yrouter.push({
|
||||
path: "/pages/user/address/AddressManagement/index",
|
||||
query: {
|
||||
|
||||
@@ -801,6 +801,12 @@ export default {
|
||||
},
|
||||
goAddress() {
|
||||
this.addressEditOrderId = this.orderInfo.orderId
|
||||
uni.setStorageSync('updateOrderSourceAddress', {
|
||||
id: this.orderInfo.addressId || this.orderInfo.userAddressId || '',
|
||||
realName: this.orderInfo.realName || this.orderInfo.oldRealName || '',
|
||||
phone: this.orderInfo.userPhone || this.orderInfo.oldUserPhone || '',
|
||||
userAddress: this.orderInfo.userAddress || this.orderInfo.oldUserAddress || ''
|
||||
})
|
||||
this.$yrouter.push({
|
||||
path:'/pages/user/address/AddressManagement/index',
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user