Browse Source

修改菜单配置

ai_dev
zhouhaibin 2 months ago
parent
commit
806736de1a
  1. 10
      src/settings/projectSetting.ts

10
src/settings/projectSetting.ts

@ -59,13 +59,13 @@ const setting: ProjectConfig = {
// Header configuration // Header configuration
headerSetting: { headerSetting: {
// header bg color // header bg color
bgColor: HEADER_PRESET_BG_COLOR_LIST[0], bgColor: HEADER_PRESET_BG_COLOR_LIST[8],
// Fixed at the top // Fixed at the top
fixed: true, fixed: true,
// Whether to show top // Whether to show top
show: true, show: true,
// theme // theme
theme: ThemeEnum.LIGHT, theme: ThemeEnum.DARK,
// Whether to enable the lock screen function // Whether to enable the lock screen function
useLockPage: true, useLockPage: true,
// Whether to show the full screen button // Whether to show the full screen button
@ -101,15 +101,15 @@ const setting: ProjectConfig = {
// Menu width // Menu width
menuWidth: 210, menuWidth: 210,
// Menu mode // Menu mode
mode: MenuModeEnum.INLINE, mode: MenuModeEnum.HORIZONTAL,
// Menu type // Menu type
type: MenuTypeEnum.SIDEBAR, type: MenuTypeEnum.TOP_MENU,
// Menu theme // Menu theme
theme: ThemeEnum.DARK, theme: ThemeEnum.DARK,
// Split menu // Split menu
split: false, split: false,
// Top menu layout // Top menu layout
topMenuAlign: 'center', topMenuAlign: 'start',
// Fold trigger position // Fold trigger position
trigger: TriggerEnum.HEADER, trigger: TriggerEnum.HEADER,
// Turn on accordion mode, only show a menu // Turn on accordion mode, only show a menu

Loading…
Cancel
Save