浏览代码

feat: update

SilenceLeo 3 年之前
父节点
当前提交
e79c748782
共有 1 个文件被更改,包括 1 次插入2 次删除
  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,立即加入享受多种优惠活动!",