mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 06:16:44 +08:00
管理者进阶跳到学习任务页面
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
},
|
||||
beforeCreate() {
|
||||
this.loading = true;
|
||||
let params={
|
||||
let params={
|
||||
// keyword:this.keyword,
|
||||
page:1,
|
||||
size:10,
|
||||
@@ -138,7 +138,11 @@
|
||||
if(res.result.count > 0) {
|
||||
this.$router.push('/uc/study/task')
|
||||
} else {
|
||||
this.$router.push('/uc/study/courses')
|
||||
if(this.$route.query.study == '1') {
|
||||
this.$router.push('/uc/study/task')
|
||||
} else {
|
||||
this.$router.push('/uc/study/courses')
|
||||
}
|
||||
}
|
||||
}else{
|
||||
this.$router.push('/uc/study/courses')
|
||||
|
||||
Reference in New Issue
Block a user