From 215ce72186a877bd79f9738a0282caba149885d0 Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Thu, 20 Oct 2022 20:01:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E5=BC=95=E5=AF=BC?= =?UTF-8?q?=E9=A1=B5=E5=BC=B9=E7=AA=97=E6=98=BE=E7=A4=BA=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index ea0b0b75..225638fc 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -518,8 +518,6 @@ }; }, mounted() { - //this.userInfo = this.$store.getters.userInfo; - //console.log(this.userInfo,'userInfo'); this.getCourseData(1); this.getCaseData(); this.getArticleData(); @@ -533,11 +531,7 @@ // 控制引导页弹框显示 apiGuide.hasUser().then(res=>{ - if(res.result) { - this.$refs.guide.guideCollection = false; - } else { - this.$refs.guide.guideCollection = true; - } + this.$refs.guide.guideCollection = res.result ? false : true; }); },