panhui 3 lat temu
rodzic
commit
f007e28fbb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/rice/Share.vue

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

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