mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 05:46:43 +08:00
恢复引导页弹窗显示
This commit is contained in:
@@ -85,18 +85,18 @@
|
||||
if(width < 1366) {
|
||||
this.clientWidth = '688px';
|
||||
}
|
||||
//这里必须放在当前的Session存储中,不能每次都调用
|
||||
apiGuide.hasUser().then(res=>{
|
||||
// if(res.result) {
|
||||
// this.guideCollection = false;
|
||||
// } else {
|
||||
// this.guideCollection = true;
|
||||
// //只是在显示时才调用
|
||||
// this.getlist();
|
||||
// }
|
||||
this.guideCollection = true;
|
||||
this.getlist();
|
||||
});
|
||||
//这里必须放在当前的Session存储中,不能每次都调用
|
||||
apiGuide.hasUser().then(res=>{
|
||||
if(res.result) {
|
||||
this.guideCollection = false;
|
||||
} else {
|
||||
this.guideCollection = true;
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
//只是在显示时才调用
|
||||
this.getlist();
|
||||
|
||||
},
|
||||
mounted() {
|
||||
@@ -133,6 +133,7 @@
|
||||
|
||||
},
|
||||
computed:{
|
||||
...mapGetters(['userInfo','studyTaskCount']),
|
||||
swiper() {
|
||||
return this.$refs.mySwiper.swiper
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user