修改其他问题

This commit is contained in:
zhangsir
2024-07-17 14:58:30 +08:00
parent f854a9c5e9
commit f6244aa462
3 changed files with 36 additions and 10 deletions

View File

@@ -480,12 +480,12 @@ export default {
overlayShow: false,
instructor:0,
fistTotal:0,
fistTotals:0,
fistTotals:1,
proTotal: 0,
proTotals: 1,
pathTotal:0,
pathTotals:0,
growTotal: 0,
pathTotals:1,
growTotal: 1,
openedsList:[],
courseNum: 0,
};
@@ -566,16 +566,12 @@ export default {
if(path == '/uc/study/task' && (route.query.type === undefined|| route.query.type === null)){
if(this.fistTotals != 0){
this.$router.push('/uc/study/task?type=1')
this.activeMenu = '/uc/study/task?type=1'
}else if (this.growTotal != 0){
this.$router.push('/uc/study/growth')
this.activeMenu = '/uc/study/growth'
}else if (this.pathTotals != 0){
this.$router.push('/uc/study/task?type=2')
this.activeMenu = '/uc/study/task?type=2'
}else{
this.$router.push('/uc/study/task?type=9')
this.activeMenu = '/uc/study/task?type=9'
}
}
});