From 61fa28736749459c7273639e8c5c00f3ff54df98 Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 6 Feb 2024 00:35:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pay/[weixin]/page.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pay/[weixin]/page.jsx b/app/pay/[weixin]/page.jsx index 78a1fa8..c785736 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://"); + window.open("weixin://", "_blank"); }; if (isLoading) {