From ed4a24801505e2bd7546bf643f641f3961bec8c1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 29 十月 2026 13:36:51 +0800
Subject: [PATCH] 修复用户昵称搜索和部门树滚动
---
src/views/system/user/index.vue | 9 +++++++--
src/views/system/user/data.ts | 18 +++++++++---------
2 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/src/views/system/user/data.ts b/src/views/system/user/data.ts
index a54c6d7..94ebe04 100644
--- a/src/views/system/user/data.ts
+++ b/src/views/system/user/data.ts
@@ -91,15 +91,6 @@
},
},
{
- fieldName: 'nickname',
- label: '鐢ㄦ埛鏄电О',
- component: 'Input',
- componentProps: {
- placeholder: '璇疯緭鍏ョ敤鎴锋樀绉�',
- allowClear: true,
- },
- },
- {
fieldName: 'mobile',
label: '鎵嬫満鍙风爜',
component: 'Input',
@@ -279,6 +270,15 @@
},
},
{
+ fieldName: 'nickname',
+ label: '鐢ㄦ埛鏄电О',
+ component: 'Input',
+ componentProps: {
+ placeholder: '璇疯緭鍏ョ敤鎴锋樀绉�',
+ allowClear: true,
+ },
+ },
+ {
fieldName: 'mobile',
label: '鎵嬫満鍙风爜',
component: 'Input',
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 1323794..f4b465d 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -198,9 +198,14 @@
<!-- 宸︿晶閮ㄩ棬鏍� -->
<Card
class="mr-4 flex h-full min-h-0 w-64 shrink-0 flex-col overflow-hidden"
- :body-style="{ minHeight: 0, overflow: 'hidden', padding: '16px' }"
+ :body-style="{
+ height: '100%',
+ minHeight: 0,
+ overflow: 'hidden',
+ padding: '16px',
+ }"
>
- <div class="min-h-0 flex-1 overflow-y-auto">
+ <div class="h-full min-h-0 overflow-y-auto">
<DeptTreeSelect @select="handleDeptSelect" />
</div>
</Card>
--
Gitblit v1.9.3