From 107919fecc40f65aac5f39ed60a7aabc11adfcf9 Mon Sep 17 00:00:00 2001 From: daxpay Date: Thu, 8 May 2025 16:49:20 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=BE=AE=E4=BF=A1=E7=A0=81=E7=89=8C?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - src/router/daxpay.ts | 2 +- src/views/daxpay/h5/code/wechat/WechatCashierCode.vue | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3827272..772ccb8 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "qs": "^6.13.1", "vant": "^4.9.10", "vue": "^3.5.13", - "vue-qr": "^4.0.9", "vue-router": "4.2.5" }, "devDependencies": { diff --git a/src/router/daxpay.ts b/src/router/daxpay.ts index 143b497..57071e4 100644 --- a/src/router/daxpay.ts +++ b/src/router/daxpay.ts @@ -83,7 +83,7 @@ export const DaxPayH5Route: RouteRecordRaw = { }, }, { - path: '/paySuccess/:orderNo?', + path: '/paySuccess/:orderNo', name: 'PaySuccess', component: () => import('@/views/daxpay/h5/result/PaySuccess.vue'), meta: { diff --git a/src/views/daxpay/h5/code/wechat/WechatCashierCode.vue b/src/views/daxpay/h5/code/wechat/WechatCashierCode.vue index ca4474a..9f6a6bc 100644 --- a/src/views/daxpay/h5/code/wechat/WechatCashierCode.vue +++ b/src/views/daxpay/h5/code/wechat/WechatCashierCode.vue @@ -137,6 +137,9 @@ async function init() { }) } } + else { + show.value = true + } }) .catch((error) => { router.push({ name: 'payFail', query: { msg: error } })