From c5ab785f2b57b3643c7b502ddf0807c56218dd4f Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 6 Feb 2024 00:03:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BE=AE=E4=BF=A1native?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pay/[weixin]/page.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/pay/[weixin]/page.jsx b/app/pay/[weixin]/page.jsx index d2e39b0..dbd23f2 100644 --- a/app/pay/[weixin]/page.jsx +++ b/app/pay/[weixin]/page.jsx @@ -37,10 +37,10 @@ export default function Weixin({ params }) { //android打开微信,ios打开微信扫一扫,0:android,1:ios const openWechat = () => { if (device === 0) { - router.push("weixin://"); + window.open("weixin://", "_ blank"); return; } - router.push("weixin://scanqrcode"); + window.open("weixin://scanqrcode", "_ blank"); }; if (isLoading) { @@ -53,7 +53,7 @@ export default function Weixin({ params }) { return (
-
+

请保存二维码到相册后
-- 2.41.0