解决学习任务自动会跳转课程管理的问题

This commit is contained in:
daihh
2023-03-03 18:28:24 +08:00
parent f4227cc6c0
commit c33f71f64f
2 changed files with 22 additions and 19 deletions

View File

@@ -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';