修改支付跳转状态页面
This commit is contained in:
parent
9945c925fd
commit
d0d9fd0005
@ -19,7 +19,7 @@ const { checkoutSessionUrl, qrUid, qrData, codePKey, codePayUid } =
|
|||||||
codeAuthStore();
|
codeAuthStore();
|
||||||
const payStatus = ref(0);
|
const payStatus = ref(0);
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
pageRequest: false,
|
pageRequest: true,
|
||||||
});
|
});
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
i18n: "payment.title",
|
i18n: "payment.title",
|
||||||
@ -73,6 +73,7 @@ const abroadPay=async ()=>{
|
|||||||
QrUid:route.query.qrUid
|
QrUid:route.query.qrUid
|
||||||
});
|
});
|
||||||
if(res.status===0){
|
if(res.status===0){
|
||||||
|
|
||||||
codePKey.value = res.data.checkoutSessionUrl;
|
codePKey.value = res.data.checkoutSessionUrl;
|
||||||
codePayUid.value = res.data.payUid;
|
codePayUid.value = res.data.payUid;
|
||||||
window.location.href = res.data.checkoutSessionUrl;
|
window.location.href = res.data.checkoutSessionUrl;
|
||||||
|
Loading…
Reference in New Issue
Block a user