小细节

This commit is contained in:
zhangsir
2024-07-10 19:28:48 +08:00
parent c98e079684
commit 972f2cb097

View File

@@ -437,6 +437,10 @@ export default {
activeMenu() {
const route = this.$route;
const { meta, path } = route;
console.log(path,meta,'path')
if(path == '/uc/study/task' || path == '/uc/study/growth'){
this.openedsList = ['mystudy']
}
if(path == '/uc/study/task'){
return '/uc/study/task?type=' + (route.query.type || 1)
}
@@ -469,12 +473,12 @@ export default {
};
},
created() {
this.learnTotal()
this.$store.dispatch('refrashReviewed');
this.$store.dispatch('refrashStudyTaskCount');
this.getLastStudy();
//获取讲师认证中条数
this.instructorCertification()
this.learnTotal()
},
mounted() {
//console.log(this.userInfo.loginName,'this.userInfo.loginName');