From 2aabdb83ad578b0c9213a18d1fb1257349e2bc3f Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 17 二月 2023 10:47:32 +0800 Subject: [PATCH] fix 修复 管理员登出动态租户未清理导致二次无法登录 --- ruoyi-ui/src/views/system/user/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index 3edf44a..0fcb4d9 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -20,6 +20,7 @@ :expand-on-click-node="false" :filter-node-method="filterNode" ref="tree" + node-key="id" default-expand-all highlight-current @node-click="handleNodeClick" @@ -179,9 +180,7 @@ v-hasPermi="['system:user:remove']" >鍒犻櫎</el-button> <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']"> - <span class="el-dropdown-link"> - <i class="el-icon-d-arrow-right el-icon--right"></i>鏇村 - </span> + <el-button size="mini" type="text" icon="el-icon-d-arrow-right">鏇村</el-button> <el-dropdown-menu slot="dropdown"> <el-dropdown-item command="handleResetPwd" icon="el-icon-key" v-hasPermi="['system:user:resetPwd']">閲嶇疆瀵嗙爜</el-dropdown-item> @@ -415,7 +414,7 @@ }, // 鍒椾俊鎭� columns: [ - { key: 0, label: `鐢ㄦ埛缂栧彿`, visible: true }, + { key: 0, label: `鐢ㄦ埛缂栧彿`, visible: false }, { key: 1, label: `鐢ㄦ埛鍚嶇О`, visible: true }, { key: 2, label: `鐢ㄦ埛鏄电О`, visible: true }, { key: 3, label: `閮ㄩ棬`, visible: true }, @@ -536,6 +535,8 @@ resetQuery() { this.dateRange = []; this.resetForm("queryForm"); + this.queryParams.deptId = undefined; + this.$refs.tree.setCurrentKey(null); this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 -- Gitblit v1.9.3