修改引导页的显示判断

This commit is contained in:
daihh
2022-10-08 15:31:06 +08:00
parent e64b06b30d
commit e1a665730e

View File

@@ -70,14 +70,17 @@
}
},
created() {
//这里必须放在当前的Session存储中不能每次都调用
apiGuide.hasUser().then(res=>{
if(res.result) {
this.guideCollection = true;
} else {
this.guideCollection = false;
}
})
} else {
this.guideCollection = true;
//只是在显示时才调用
this.getlist();
}
});
},
mounted() {