panhui 3 лет назад
Родитель
Сommit
f007e28fbb
1 измененных файлов с 1 добавлено и 1 удалено
  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://';
     }
 }