mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
格式化引导页弹窗显示代码。
This commit is contained in:
@@ -518,8 +518,6 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//this.userInfo = this.$store.getters.userInfo;
|
|
||||||
//console.log(this.userInfo,'userInfo');
|
|
||||||
this.getCourseData(1);
|
this.getCourseData(1);
|
||||||
this.getCaseData();
|
this.getCaseData();
|
||||||
this.getArticleData();
|
this.getArticleData();
|
||||||
@@ -533,11 +531,7 @@
|
|||||||
|
|
||||||
// 控制引导页弹框显示
|
// 控制引导页弹框显示
|
||||||
apiGuide.hasUser().then(res=>{
|
apiGuide.hasUser().then(res=>{
|
||||||
if(res.result) {
|
this.$refs.guide.guideCollection = res.result ? false : true;
|
||||||
this.$refs.guide.guideCollection = false;
|
|
||||||
} else {
|
|
||||||
this.$refs.guide.guideCollection = true;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user