diff --git a/src/components/UserCenter/menu.vue b/src/components/UserCenter/menu.vue
index 152c48f5..5e6bac12 100644
--- a/src/components/UserCenter/menu.vue
+++ b/src/components/UserCenter/menu.vue
@@ -298,7 +298,7 @@
我的必修
-
+
我的选修
@@ -307,7 +307,7 @@
自选学习
-
+
我的选修
@@ -443,6 +443,7 @@ export default {
const route = this.$route;
const { meta, path } = route;
console.log(path,meta,'path')
+ console.log(this.fistTotals,this.growTotal,this.pathTotals,'geshu')
if(path == '/uc/study/task' || path == '/uc/study/growth'){
this.openedsList = ['mystudy']
}
@@ -453,7 +454,7 @@ export default {
return '/uc/study/task?type=9'
}
if(path == '/uc/study/task'){
- return '/uc/study/task?type=' + (route.query.type || 1)
+ return '/uc/study/task?type=' + (route.query.type || this.fistTotals || this.growTotal || this.pathTotals || 2)
}
if(meta.title == '添加受众' || meta.title == '查看受众'){
meta.activeMenu = '/manage/ugroups'
@@ -552,6 +553,7 @@ export default {
})
]
Promise.all(promises).then(() => {
+ console.log('111111111')
sessionStorage.setItem('totalNums', this.fistTotals + this.pathTotals + this.growTotal);
});
apiManage.queryTaskCounts({}).then(res=>{