From 0906c54770971020cf2d243d06d57a2f6fbbc18c Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 18 十月 2024 13:05:48 +0800
Subject: [PATCH] 1. 添加数据产品目录

---
 src/components/core/SiderMenu.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/components/core/SiderMenu.vue b/src/components/core/SiderMenu.vue
index d38af30..abe2269 100644
--- a/src/components/core/SiderMenu.vue
+++ b/src/components/core/SiderMenu.vue
@@ -56,9 +56,9 @@
     </template>
 
     <!-- 鍟嗘爣 -->
-    <el-row ref="subTitleRef" class="sub-title" justify="center">
+    <!-- <el-row ref="subTitleRef" class="sub-title" justify="center">
       <el-space>{{ collapse ? '' : subTitle }}</el-space>
-    </el-row>
+    </el-row> -->
   </el-menu>
 </template>
 
@@ -77,7 +77,7 @@
   data() {
     return {
       popVisible: false,
-      menuHeight: '600px',
+      menuHeight: '800px',
       title: '鐢熸�佺幆澧冪嚎涓婄洃绠�',
       subTitle: '漏涓婃捣椋炵窘鐜繚绉戞妧鏈夐檺鍏徃',
       sysIndex: 0,
@@ -120,7 +120,8 @@
     calMenuHeight() {
       const h1 = this.$refs.headerRef.$el.offsetHeight;
       const h2 = this.$refs.header2Ref.$el.offsetHeight;
-      const h3 = this.$refs.subTitleRef.$el.offsetHeight;
+      // const h3 = this.$refs.subTitleRef.$el.offsetHeight;
+      const h3 = 0;
       return `calc(100vh - ${h1}px - ${h2}px - ${h3}px)`;
     },
     menuPath(m) {
@@ -138,7 +139,7 @@
     this.navPage(...this.menuPath(this.menus[0]));
   },
   mounted() {
-    this.menuHeight = this.calMenuHeight();
+    // this.menuHeight = this.calMenuHeight();
   }
 };
 </script>
@@ -178,7 +179,7 @@
 .el-menu-vertical-demo:not(.el-menu--collapse) {
   /* width: 200px; */
   min-height: 100vh;
-  max-height: 100vh;
+  /* max-height: 100vh; */
 }
 
 .el-menu--collapse {

--
Gitblit v1.9.3