修复bug

This commit is contained in:
yezian 2024-02-06 00:29:12 +08:00
parent 88765401a1
commit 5132c9258b
1 changed files with 2 additions and 4 deletions

View File

@ -37,12 +37,10 @@ export default function Weixin({ params }) {
//androidios0:android1:ios
const openWechat = () => {
if (device === 0) {
window.open("weixin://", "_blank");
router.push("weixin://");
return;
}
var link = document.createElement("a");
link.href = "weixin://scanqrcode";
link.click();
router.replace("weixin://scanqrcode");
};
if (isLoading) {