Commit 3bf656e2 authored by FE-安焕焕's avatar FE-安焕焕 👣

修改支付参数问题

parent e38fa0d5
......@@ -63,9 +63,11 @@ function payByWeixinH5(info) {
const orderNo = cookies.get('orderNo')?.orderNo;
info.params.isXyqb = isXyqb ? 1 : 0;
info.params.isWxH5 = 1;
info.params.vccToken = vccToken;
info.params.orderNo = orderNo;
const currentPath = encodeURIComponent(
window.location.origin +
`/payWaiting?vccToken=${vccToken}&orderNo=${orderNo}` +
'/payWaiting' +
qs.stringify(info.params, { encode: true, addQueryPrefix: true })
);
// window.location.href = `${info.url}&redirect_url=${currentPath}`;
......
......@@ -7,6 +7,7 @@
:coupon-info="couponInfo"
:show-coupon="showCoupon"
:risk-limit="riskLimit"
:coupon-disabled="couponDisabled"
/>
</div>
<div class="dashed">
......@@ -94,10 +95,6 @@ export default {
}
this.pay.changePayType(payType, mergePayPretreatmentInfo);
},
openCouponModal() {
if (this.couponDisabled) return;
this.pay.openCouponModal(this.pay.orderNo);
},
openMore() {
this.morePopup = true;
}
......
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