Commit 1c2140e4c17ac9e921bb2419502915b2e2d778da

Authored by zhiyangdu
1 parent 28b83325

地址跳转优化

src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
... ... @@ -82,8 +82,8 @@ export default {
82 82 methods: {
83 83 // 跳转原生商品详情页
84 84 jumpOrderDes (item) {
85   -
86   - if (item.shop_type == 1 && item.address_name && item.address_phone && address_address) { // 1实物 2是虚拟商品 3红包
  85 + debugger
  86 + if (item.shop_type == 1 && item.address_name && item.address_phone && item.address_address) { // 1实物 2是虚拟商品 3红包
87 87 // 判断APP内
88 88 if (this.isCNLive.value) {
89 89 // (判断app内是否有该方法)
... ... @@ -135,7 +135,6 @@ export default {
135 135 let obj = item;
136 136 for (let key in obj) {
137 137 if (item.id == orderInfo.id) {
138   - this.$set(item, "shop_type", 2);
139 138 this.$set(item, "address_name", addressInfo.name);
140 139 this.$set(item, "address_phone", addressInfo.phone);
141 140 this.$set(item, "address_address", addressInfo.address);
... ...