From 0a2169b09e12ef83f115828b5bfed9b4552f321c Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 12 May 2020 17:50:18 +0800 Subject: [PATCH] =?UTF-8?q?bug=20fix=20=E7=82=B9=E5=87=BB=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E5=88=87=E6=8D=A2=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/business/components/common/head/HeaderUser.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/common/head/HeaderUser.vue b/frontend/src/business/components/common/head/HeaderUser.vue index 466a7d8985..2fa6b44723 100644 --- a/frontend/src/business/components/common/head/HeaderUser.vue +++ b/frontend/src/business/components/common/head/HeaderUser.vue @@ -83,7 +83,8 @@ handleCommand(command) { switch (command) { case "personal": - this.$setLang("en_US"); + // TODO 优化路由跳转,避免重复添加路由 + this.$router.push('/setting/personsetting').catch(error => error); break; case "logout": this.$get("/signout", function () {