소스 검색

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,立即加入享受多种优惠活动!",