From 79863ca588893739f7b2ab0c3ff72c0d08757414 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期二, 18 七月 2023 12:35:56 +0800
Subject: [PATCH] 修改样式,菜单管理增加是否缓存

---
 Source/UBCS-WEB/src/components/Tree/classifyTrees.vue |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
index 0b9b8df..1a2d201 100644
--- a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
+++ b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
@@ -3,7 +3,7 @@
   <el-container>
     <!--    宸︿晶鑿滃崟-->
     <el-aside >
-      <basic-container style="height: 85vh; max-height: 155vh; overflow-y: scroll;">
+      <basic-container style="overflow:hidden;">
         <div>
         <div>
           <div style="display: flex; flex-direction: column;">
@@ -62,7 +62,7 @@
         </el-dialog>
         <avue-tree ref="tree" v-model="CloneTreeAvueform" v-loading="loading" :data="CloneTreedata" :defaultExpandAll="false"
                    :option="Treeoption"
-                   style="height: 80.5vh;padding-top: 5px;padding-bottom: 30px"
+                   style="height: calc(100vh - 230px);"
                    @node-click="nodeClick"
                    class="classifyTree"
         >
@@ -71,7 +71,7 @@
       </basic-container>
     </el-aside>
     <el-main>
-      <basic-container style="height: 85vh; max-height: 155vh; ">
+      <basic-container style="height: calc(100vh - 150px);">
         <!--        鍙充晶琛ㄦ牸-->
         <avue-tabs :option="tabOption" @change="handleChange"></avue-tabs>
         <span v-if="type.prop==='tab1'">
@@ -1393,6 +1393,15 @@
 </script>
 
 <style lang="scss" scoped>
+.el-container{
+  height: 100%;
+}
+.el-aside {
+  height: calc(100% - 30px);
+}
+.el-main {
+  height: calc(100% - 30px);
+}
 .el-form {
   display: flex;
   flex-wrap: wrap; /* 璁剧疆鍙崲琛岋紝浠ヤ究鍦ㄥ皬灞忓箷璁惧涓婁娇鐢ㄥ琛屽竷灞� */

--
Gitblit v1.9.3