From edbde96487afbb300e08d5863cdc57631dc8c137 Mon Sep 17 00:00:00 2001
From: 沉浸独 <953969331@qq.com>
Date: 星期五, 26 八月 2022 14:46:08 +0800
Subject: [PATCH] sa-token-jwt中hutool是5.7.14,会影响到项目中的5.8.5的使用;使用Ipv4Util时,用的是5.7.14

---
 ruoyi-ui/src/layout/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/layout/index.vue b/ruoyi-ui/src/layout/index.vue
index 8be4184..f048657 100644
--- a/ruoyi-ui/src/layout/index.vue
+++ b/ruoyi-ui/src/layout/index.vue
@@ -1,8 +1,8 @@
 <template>
   <div :class="classObj" class="app-wrapper" :style="{'--current-color': theme}">
     <div v-if="device==='mobile'&&sidebar.opened" class="drawer-bg" @click="handleClickOutside"/>
-    <sidebar class="sidebar-container"/>
-    <div :class="{hasTagsView:needTagsView}" class="main-container">
+    <sidebar v-if="!sidebar.hide" class="sidebar-container" />
+    <div :class="{hasTagsView:needTagsView,sidebarHide:sidebar.hide}" class="main-container">
       <div :class="{'fixed-header':fixedHeader}">
         <navbar />
         <tags-view v-if="needTagsView" />
@@ -101,6 +101,10 @@
     width: calc(100% - 54px);
   }
 
+  .sidebarHide .fixed-header {
+    width: 100%;
+  }
+
   .mobile .fixed-header {
     width: 100%;
   }

--
Gitblit v1.9.3