SilenceLeo 3 éve
szülő
commit
e79c748782
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      src/pages/index/index.vue

+ 1 - 2
src/pages/index/index.vue

@@ -167,8 +167,7 @@ export default {
   },
   methods: {
     showDialog() {
-      if (!this.userInfo || (this.userInfo && this.userInfo.type === "1"))
-        return;
+      if (this.userInfo && this.userInfo.type === "1") return;
       uni.showModal({
         title: "欢迎来到云果国潮",
         content: "您当前还不是VIP,立即加入享受多种优惠活动!",