panhui 3 жил өмнө
parent
commit
f007e28fbb

+ 1 - 1
src/components/rice/Share.vue

@@ -78,7 +78,7 @@ function share() {
 
 
 const inWeixin = /micromessenger/i.test(navigator.userAgent);
 const inWeixin = /micromessenger/i.test(navigator.userAgent);
 function openWeixin() {
 function openWeixin() {
-    if (inWeixin) {
+    if (!inWeixin) {
         window.location.href = 'weixin://';
         window.location.href = 'weixin://';
     }
     }
 }
 }