From be1c24069296cf6f017791a3fecbfb39396f72a9 Mon Sep 17 00:00:00 2001 From: woody Date: Wed, 24 Sep 2025 10:42:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(pay):=20safari=20=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pay/hiPay.vue | 4 +++- pages/pay/index.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/pay/hiPay.vue b/pages/pay/hiPay.vue index 001aa28..acc0641 100644 --- a/pages/pay/hiPay.vue +++ b/pages/pay/hiPay.vue @@ -565,7 +565,9 @@ export default { if (navigator.userAgent.includes('MicroMessenger')) { window.location.href = url } else { - window.open(url) + requestAnimationFrame(() => { + window.open(url) + }) } }) }, diff --git a/pages/pay/index.vue b/pages/pay/index.vue index b962a20..d3b02bd 100644 --- a/pages/pay/index.vue +++ b/pages/pay/index.vue @@ -1257,7 +1257,9 @@ export default { if (navigator.userAgent.includes('MicroMessenger')) { window.location.href = url } else { - window.open(url) + requestAnimationFrame(() => { + window.open(url) + }) } }) },