From 13fc2fd138c26c6070aa793c20f1a12a536f2af0 Mon Sep 17 00:00:00 2001
From: 田源 <tianyuan@vci-tech.com>
Date: 星期五, 27 十二月 2024 10:51:42 +0800
Subject: [PATCH] 个人信息不跳转bug&&菜单折叠后图标大小以及折叠后图标错乱显示问题

---
 Source/plt-web/plt-web-ui/src/page/index/top/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/page/index/top/index.vue b/Source/plt-web/plt-web-ui/src/page/index/top/index.vue
index 7d9e532..4b22017 100644
--- a/Source/plt-web/plt-web-ui/src/page/index/top/index.vue
+++ b/Source/plt-web/plt-web-ui/src/page/index/top/index.vue
@@ -88,8 +88,8 @@
             <el-dropdown-item>
               <router-link to="/">{{ $t('navbar.dashboard') }}</router-link>
             </el-dropdown-item>
-            <el-dropdown-item>
-              <router-link to="/info/index">{{ $t('navbar.userinfo') }}</router-link>
+            <el-dropdown-item @click.native="gotoInfo">
+              {{ $t('navbar.userinfo') }}
               <!--            淇敼瀵嗙爜-->
             </el-dropdown-item>
             <el-dropdown-item v-if="this.website.switchMode" @click.native="switchDept"
@@ -226,6 +226,10 @@
     setScreen() {
       this.$store.commit("SET_FULLSCREN");
     },
+    gotoInfo() {
+      console.log('123')
+      this.$router.push({path: '/info'});
+    },
     switchDept() {
       const userId = this.userInfo.user_id;
       const deptColumn = this.findObject(this.userOption.column, "deptId");

--
Gitblit v1.9.3