修复bug
This commit is contained in:
parent
c5ab785f2b
commit
21f29740ee
|
@ -37,10 +37,10 @@ export default function Weixin({ params }) {
|
||||||
//android打开微信,ios打开微信扫一扫,0:android,1:ios
|
//android打开微信,ios打开微信扫一扫,0:android,1:ios
|
||||||
const openWechat = () => {
|
const openWechat = () => {
|
||||||
if (device === 0) {
|
if (device === 0) {
|
||||||
window.open("weixin://", "_ blank");
|
window.open("weixin://", "_blank");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
window.open("weixin://scanqrcode", "_ blank");
|
window.open("weixin://scanqrcode", "_blank");
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
|
Loading…
Reference in New Issue