修复bug

This commit is contained in:
yezian 2024-02-06 00:35:15 +08:00
parent 0f70542bbf
commit 61fa287367
1 changed files with 2 additions and 2 deletions

View File

@ -37,10 +37,10 @@ export default function Weixin({ params }) {
//androidios0:android1:ios //androidios0:android1:ios
const openWechat = () => { const openWechat = () => {
if (device === 0) { if (device === 0) {
router.push("weixin://"); window.open("weixin://", "_blank");
return; return;
} }
router.push("weixin://"); window.open("weixin://", "_blank");
}; };
if (isLoading) { if (isLoading) {