From d2bd73b4dca8208807233f849a5cbb5d7d30e3e3 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 17 Nov 2022 14:26:43 +0800
Subject: [PATCH] 开启TopNav没有子菜单隐藏侧边栏

---
 ruoyi-ui/src/layout/index.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/layout/index.vue b/ruoyi-ui/src/layout/index.vue
index 45844fd..202cfcd 100644
--- a/ruoyi-ui/src/layout/index.vue
+++ b/ruoyi-ui/src/layout/index.vue
@@ -101,6 +101,10 @@
     width: calc(100% - 54px);
   }
 
+  .sidebarHide .fixed-header {
+    width: 100%;
+  }
+
   .mobile .fixed-header {
     width: 100%;
   }

--
Gitblit v1.9.3