From 96df9c12a94474ddd567fab1f255d3721b6cf03c Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期四, 02 一月 2025 16:28:38 +0800 Subject: [PATCH] 调整UI引擎页面按钮图标 --- Source/plt-web/plt-web-ui/src/page/index/top/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 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..8df1854 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 @@ -4,8 +4,7 @@ <div v-if="showCollapse" :class="[{ 'avue-breadcrumb--active': isCollapse }]" class="avue-breadcrumb"> - <i class="icon-navicon" - @click="setCollapse"></i> + <i class="icon-navicon" @click="setCollapse"></i> </div> </div> <div class="top-bar__title"> @@ -88,8 +87,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 +225,9 @@ setScreen() { this.$store.commit("SET_FULLSCREN"); }, + gotoInfo() { + this.$router.push({path: '/info'}); + }, switchDept() { const userId = this.userInfo.user_id; const deptColumn = this.findObject(this.userOption.column, "deptId"); -- Gitblit v1.9.3