From 76b09f24e9249bb10b7b5d1c40a3bf85498ba8bc Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 12 Dec 2022 19:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=81=B0=E5=BA=A6=E7=99=BD=E5=90=8D=E5=8D=95?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UcHeader/Index.vue | 14 +++++++------- src/components/UserCenter/menu.vue | 14 +++++++++++--- src/utils/testUsers.js | 4 ++-- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/components/UcHeader/Index.vue b/src/components/UcHeader/Index.vue index d79f2993..e8b3ce73 100644 --- a/src/components/UcHeader/Index.vue +++ b/src/components/UcHeader/Index.vue @@ -162,13 +162,13 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; setCurIdentity(iden){ this.$store.dispatch('SetCurIdentity',iden); - - if(this.isTest){ - //this.$router.push('/manage/learningpath'); - location.href='/manage/learningpath'; - }else{ - this.$router.push('/manager/index'); - } + this.$router.push('/manager/index'); + // if(this.isTest){ + // //this.$router.push('/manage/learningpath'); + // location.href='/manage/learningpath'; + // }else{ + // this.$router.push('/manager/index'); + // } }, jumrank(){ this.$router.push('/user/ranking'); diff --git a/src/components/UserCenter/menu.vue b/src/components/UserCenter/menu.vue index 984161cb..00711cf1 100644 --- a/src/components/UserCenter/menu.vue +++ b/src/components/UserCenter/menu.vue @@ -99,12 +99,12 @@ 旧版管理员界面 - +