Commit 8ce66d8b authored by 郭志伟's avatar 郭志伟

fix: 问题修复

parent 27b14f82
...@@ -166,6 +166,9 @@ export default { ...@@ -166,6 +166,9 @@ export default {
}, },
payType() { payType() {
return this.orderInfo.orderDetail.payType === 1 ? '微信' : '支付宝'; return this.orderInfo.orderDetail.payType === 1 ? '微信' : '支付宝';
},
isKeyChange() {
return this.currentOrder.virtualChargeAttrs && this.currentOrder.virtualChargeAttrs.cardKey;
} }
}, },
mounted() { mounted() {
...@@ -188,7 +191,9 @@ export default { ...@@ -188,7 +191,9 @@ export default {
this.$router.push({ path: '/pay', query: { orderNo: this.currentOrder.orderNo } }); this.$router.push({ path: '/pay', query: { orderNo: this.currentOrder.orderNo } });
}, },
toGoods() { toGoods() {
this.$router.push({ path: '/goods' }); this.$router.push({
path: this.isKeyChange ? '/vipLife' : '/home'
});
}, },
orderNotify() { orderNotify() {
this.$toast.success('已通知卖家'); this.$toast.success('已通知卖家');
...@@ -200,7 +205,6 @@ export default { ...@@ -200,7 +205,6 @@ export default {
this.$toast.success('已复制'); this.$toast.success('已复制');
} }
}); });
console.log(item);
} }
} }
}; };
......
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