Commit 1c2140e4c17ac9e921bb2419502915b2e2d778da
1 parent
28b83325
地址跳转优化
Showing
1 changed file
with
2 additions
and
3 deletions
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
| @@ -82,8 +82,8 @@ export default { | @@ -82,8 +82,8 @@ export default { | ||
| 82 | methods: { | 82 | methods: { |
| 83 | // 跳转原生商品详情页 | 83 | // 跳转原生商品详情页 |
| 84 | jumpOrderDes (item) { | 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 | // 判断APP内 | 87 | // 判断APP内 |
| 88 | if (this.isCNLive.value) { | 88 | if (this.isCNLive.value) { |
| 89 | // (判断app内是否有该方法) | 89 | // (判断app内是否有该方法) |
| @@ -135,7 +135,6 @@ export default { | @@ -135,7 +135,6 @@ export default { | ||
| 135 | let obj = item; | 135 | let obj = item; |
| 136 | for (let key in obj) { | 136 | for (let key in obj) { |
| 137 | if (item.id == orderInfo.id) { | 137 | if (item.id == orderInfo.id) { |
| 138 | - this.$set(item, "shop_type", 2); | ||
| 139 | this.$set(item, "address_name", addressInfo.name); | 138 | this.$set(item, "address_name", addressInfo.name); |
| 140 | this.$set(item, "address_phone", addressInfo.phone); | 139 | this.$set(item, "address_phone", addressInfo.phone); |
| 141 | this.$set(item, "address_address", addressInfo.address); | 140 | this.$set(item, "address_address", addressInfo.address); |