Pārlūkot izejas kodu

样式调整补充提交

lph 1 gadu atpakaļ
vecāks
revīzija
087ab0418f

+ 9 - 10
ruoyi-ui/src/layout/components/AppMain.vue

@@ -10,24 +10,23 @@
 </template>
 
 <script>
-import iframeToggle from "./IframeToggle/index"
+import iframeToggle from "./IframeToggle/index";
 
 export default {
-  name: 'AppMain',
+  name: "AppMain",
   components: { iframeToggle },
   computed: {
     cachedViews() {
-      return this.$store.state.tagsView.cachedViews
+      return this.$store.state.tagsView.cachedViews;
     },
     key() {
-      return this.$route.path
-    }
-  }
-}
+      return this.$route.path;
+    },
+  },
+};
 </script>
 
 <style lang="scss" scoped>
-
 .app-main {
   /* 50= navbar  50  */
   min-height: calc(100vh - 50px);
@@ -46,13 +45,13 @@ export default {
     /* 84 = navbar + tags-view = 50 + 34 */
     min-height: calc(100vh - 84px);
 
-
     //+++++++++++
     /* position:fixed; */
   }
 
   .fixed-header + .app-main {
-    padding-top: 84px;
+    // padding-top: 84px;
+    padding-top: 34px;
   }
 }
 </style>

+ 0 - 1
ruoyi-ui/src/layout/components/Sidebar/index.vue

@@ -28,7 +28,6 @@
         :collapse-transition="false"
         class="el-menu-vertical-demo"
         mode="vertical"
-        menu-trigger="click"
       >
         <!--       左侧菜单bug   menu-trigger="click"    -->
         <sidebar-item