修复bug
This commit is contained in:
parent
0f70542bbf
commit
61fa287367
|
@ -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) {
|
||||||
router.push("weixin://");
|
window.open("weixin://", "_blank");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
router.push("weixin://");
|
window.open("weixin://", "_blank");
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
|
Loading…
Reference in New Issue