Fix:3262 【礼品功能】每次领取礼品时输入新地址,都会把上一次保存的地址覆盖掉,设置新地址也要保留上一次的地址

This commit is contained in:
linxi
2025-02-24 17:05:08 +08:00
parent f9a89a7129
commit 6af05e705a
+12 -5
View File
@@ -29,7 +29,7 @@
</view>
<view class="address v12-font-bold v12-font-28 v12-dark-text v12-mt-3 v12-mb-4">
{{ item.province + item.city + item.district + item.detail }}
<view @click.stop="editAddress">
<view @click.stop="editAddress(item)">
<u-icon :name="webUrl+'/orderIcon/edit02.png'" color="#C52733"></u-icon>
</view>
</view>
@@ -59,13 +59,20 @@ export default {
}
},
methods: {
editAddress() {
editAddress(item) {
// this.$yrouter.push({
// path: "/pages/user/address/AddressManagement/index",
// query: {
// choosMode: 3
// }
// });
this.$yrouter.push({
path: "/pages/user/address/AddressManagement/index",
path: "/pages/user/address/AddAddress/index",
query: {
choosMode: 3
choosMode: 3,
id: item.id
}
});
})
},
// 选择地址
handleSelect(item) {