mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
解决学习任务自动会跳转课程管理的问题
This commit is contained in:
@@ -162,7 +162,10 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
|
||||
setCurIdentity(iden){
|
||||
this.$store.dispatch('SetCurIdentity',iden);
|
||||
this.$router.push('/manager/index');
|
||||
if(iden>2){
|
||||
this.$router.push('/manager/index');
|
||||
}
|
||||
//
|
||||
// if(this.isTest){
|
||||
// //this.$router.push('/manage/learningpath');
|
||||
// location.href='/manage/learningpath';
|
||||
|
||||
Reference in New Issue
Block a user