From 5db2a8476fa184b413b99c5fcc3ee5a840d97d13 Mon Sep 17 00:00:00 2001 From: sangelxiu1 <15781802@163.com> Date: Thu, 11 Sep 2025 11:54:28 +0800 Subject: [PATCH] =?UTF-8?q?##=20Opt=20-=20=E5=85=BC=E5=AE=B9ios=20open?= 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 f369c2b..e24c4b4 100644 --- a/pages/pay/hiPay.vue +++ b/pages/pay/hiPay.vue @@ -566,7 +566,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 47aa2a8..0787eac 100644 --- a/pages/pay/index.vue +++ b/pages/pay/index.vue @@ -1277,7 +1277,9 @@ export default { if (navigator.userAgent.includes('MicroMessenger')) { window.location.href = url } else { - window.open(url) + requestAnimationFrame(()=>{ + window.open(url) + }); } }) },