Przeglądaj źródła

项目菜单配置修改

hongrunxia 1 rok temu
rodzic
commit
e601dce682
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      src/settings/projectSetting.ts

+ 5 - 5
src/settings/projectSetting.ts

@@ -18,7 +18,7 @@ import {
 // ! You need to clear the browser cache after the change
 const setting: ProjectConfig = {
   // Whether to show the configuration button
-  showSettingButton: true,
+  showSettingButton: false,
 
   // Whether to show the theme switch button
   showDarkModeToggle: true,
@@ -46,7 +46,7 @@ const setting: ProjectConfig = {
   colorWeak: false,
 
   // Whether to cancel the menu, the top, the multi-tab page display, for possible embedded in other systems
-  fullContent: false,
+  fullContent: true,
 
   // content mode
   contentMode: ContentEnum.FULL,
@@ -85,7 +85,7 @@ const setting: ProjectConfig = {
     // sidebar menu bg color
     bgColor: SIDE_BAR_BG_COLOR_LIST[0],
     //  Whether to fix the left menu
-    fixed: true,
+    fixed: false,
     // Menu collapse
     collapsed: false,
     // When sider hide because of the responsive layout
@@ -102,8 +102,8 @@ const setting: ProjectConfig = {
     // Menu width
     menuWidth: 210,
     // Menu mode
-    mode: MenuModeEnum.INLINE,
-    // mode: MenuModeEnum.HORIZONTAL,
+    // mode: MenuModeEnum.INLINE,
+    mode: MenuModeEnum.HORIZONTAL,
     // Menu type
     type: MenuTypeEnum.TOP_MENU,
     // Menu theme