修复bug

This commit is contained in:
yezian 2024-02-06 00:20:19 +08:00
parent 21f29740ee
commit 88765401a1
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ export default function Weixin({ params }) {
window.open("weixin://", "_blank"); window.open("weixin://", "_blank");
return; return;
} }
window.open("weixin://scanqrcode", "_blank"); var link = document.createElement("a");
link.href = "weixin://scanqrcode";
link.click();
}; };
if (isLoading) { if (isLoading) {