update 优化部门树和分类树当内容超出容器时显示滚动条

This commit is contained in:
AprilWind 2025-05-29 10:10:55 +08:00
parent 8b8099ad09
commit 0857633950
6 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@
<el-card shadow="hover">
<el-input v-model="deptName" placeholder="请输入部门名称" prefix-icon="Search" clearable />
<el-tree
style="max-height: 600px; overflow-y: auto;"
ref="deptTreeRef"
class="mt-2"
node-key="id"

View File

@ -6,6 +6,7 @@
<el-card shadow="hover">
<el-input v-model="deptName" placeholder="请输入部门名称" prefix-icon="Search" clearable />
<el-tree
style="max-height: 600px; overflow-y: auto;"
ref="deptTreeRef"
class="mt-2"
node-key="id"

View File

@ -6,6 +6,7 @@
<el-card shadow="hover">
<el-input v-model="deptName" placeholder="请输入部门名称" prefix-icon="Search" clearable />
<el-tree
style="max-height: 600px; overflow-y: auto;"
ref="deptTreeRef"
class="mt-2"
node-key="id"

View File

@ -6,6 +6,7 @@
<el-card shadow="hover">
<el-input v-model="categoryName" placeholder="请输入流程分类名" prefix-icon="Search" clearable />
<el-tree
style="max-height: 600px; overflow-y: auto;"
ref="categoryTreeRef"
class="mt-2"
node-key="id"

View File

@ -6,6 +6,7 @@
<el-card shadow="hover">
<el-input v-model="categoryName" placeholder="请输入流程分类名" prefix-icon="Search" clearable />
<el-tree
style="max-height: 600px; overflow-y: auto;"
ref="categoryTreeRef"
class="mt-2"
node-key="id"

View File

@ -6,6 +6,7 @@
<el-card shadow="hover">
<el-input v-model="categoryName" placeholder="请输入流程分类名" prefix-icon="Search" clearable />
<el-tree
style="max-height: 600px; overflow-y: auto;"
ref="categoryTreeRef"
class="mt-2"
node-key="id"