mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
格式化引导页弹窗显示代码。
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user