mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 15:56:45 +08:00
Merge branch 'zcwy-master' into dev0515
This commit is contained in:
@@ -437,6 +437,10 @@ export default {
|
|||||||
activeMenu() {
|
activeMenu() {
|
||||||
const route = this.$route;
|
const route = this.$route;
|
||||||
const { meta, path } = 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'){
|
if(path == '/uc/study/task'){
|
||||||
return '/uc/study/task?type=' + (route.query.type || 1)
|
return '/uc/study/task?type=' + (route.query.type || 1)
|
||||||
}
|
}
|
||||||
@@ -469,12 +473,12 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.learnTotal()
|
||||||
this.$store.dispatch('refrashReviewed');
|
this.$store.dispatch('refrashReviewed');
|
||||||
this.$store.dispatch('refrashStudyTaskCount');
|
this.$store.dispatch('refrashStudyTaskCount');
|
||||||
this.getLastStudy();
|
this.getLastStudy();
|
||||||
//获取讲师认证中条数
|
//获取讲师认证中条数
|
||||||
this.instructorCertification()
|
this.instructorCertification()
|
||||||
this.learnTotal()
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//console.log(this.userInfo.loginName,'this.userInfo.loginName');
|
//console.log(this.userInfo.loginName,'this.userInfo.loginName');
|
||||||
|
|||||||
Reference in New Issue
Block a user