Commit eec7da5a authored by FE-安焕焕's avatar FE-安焕焕 👣

支付问题

parent b809a695
......@@ -413,7 +413,10 @@ export default {
/* 微信支付 */
payByWay(this.tradeType, { ...wxPayInfo, url: wxPayInfo.mwebUrl });
return;
} else if (!params && (this.payType === ALIPAY_PAY || CREDIT_AND_ALIPAY_PAY)) {
} else if (
!params &&
(this.payType === ALIPAY_PAY || this.payType === CREDIT_AND_ALIPAY_PAY)
) {
/* 支付宝支付 */
payByWay('ALIWEB', { ...aliPayInfo, url: aliPayInfo.order_string });
return;
......
......@@ -36,7 +36,7 @@ export default {
};
},
created() {
this.orderNo = this.$route.query.orderNo || localStorage.set('orderNo');
this.orderNo = this.$route.query.orderNo || localStorage.get('orderNo');
},
mounted() {
// eslint-disable-next-line space-before-function-paren
......
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