Commit a2fb8c4f authored by Xuguangxing's avatar Xuguangxing

fix: 修复确认订单页无法切换地址的问题

parent f44a1bc7
......@@ -66,7 +66,9 @@ export default {
selectIt(e) {
if (!this.isSelect) return;
const addressList = { ...e, noAddr: true };
localStorage.set('addressList', addressList);
const orderData = localStorage.get('orderData');
orderData.addrReceiverId = addressList.addrReceiverId;
localStorage.set('orderData', orderData);
this.$router.go(-1); // 返回上一页
},
toAdd() {
......
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