From 4b1fe4303ea99d77a80443f90c125face9dfbb60 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期三, 25 六月 2025 09:33:22 +0800
Subject: [PATCH] 页面增加滚动轴

---
 src/views/tms/modules/baseTools/BaseToolsListLeft.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/views/tms/modules/baseTools/BaseToolsListLeft.vue b/src/views/tms/modules/baseTools/BaseToolsListLeft.vue
index f1ed47a..03932f8 100644
--- a/src/views/tms/modules/baseTools/BaseToolsListLeft.vue
+++ b/src/views/tms/modules/baseTools/BaseToolsListLeft.vue
@@ -3,7 +3,6 @@
     :loading="cardLoading"
     :bordered="false"
     title="宸ュ叿淇℃伅"
-    style="height: 100%;"
   >
     <a-spin :spinning="loading">
       <a-alert
@@ -55,13 +54,11 @@
       />
 
       <!-- showLine -->
-      <a-tree
+      <div style="flex: 1;overflow:auto;margin-top: 10px;max-height: 400px; min-height: 400px">
+          <a-tree
         :checkStrictly="checkStrictly"
-      
         :selectedKeys="selectedKeys"
-        :dropdownStyle="{maxHeight:'200px',overflow:'auto'}"
         :treeData="treeDataSource"
-        
         :defaultExpandAll="true"
         @select="onSelect"
         @expand="onExpand"
@@ -90,6 +87,8 @@
       
         </template>
       </a-tree>
+      </div>
+      
     </a-spin>
   </a-card>
 </template>
@@ -228,7 +227,7 @@
       this.expandedKeys = this.allTreeKeys;
     },
     closeAll() {
-      this.expandedKeys = this.allSiteIds;
+      this.expandedKeys = [];
     },
     refreshTree() {
       this.queryTreeData();

--
Gitblit v1.9.3