| | |
| | | import type { ProjectConfig } from '/@/types/config'; |
| | | |
| | | import { MenuTypeEnum, MenuModeEnum, TriggerEnum } from '/@/enums/menuEnum'; |
| | | import { MenuTypeEnum, MenuModeEnum, TriggerEnum, MixSidebarTriggerEnum } from '/@/enums/menuEnum'; |
| | | import { CacheTypeEnum } from '/@/enums/cacheEnum'; |
| | | import { ContentEnum, PermissionModeEnum, ThemeEnum, RouterTransitionEnum } from '/@/enums/appEnum'; |
| | | import { primaryColor } from '../../build/config/lessModifyVars'; |
| | | import { primaryColor, themeMode } from '../../build/config/themeConfig'; |
| | | import { isProdMode } from '/@/utils/env'; |
| | | |
| | | // ! You need to clear the browser cache after the change |
| | |
| | | // color |
| | | // TODO Theme color |
| | | themeColor: primaryColor, |
| | | // TODO dark theme |
| | | themeMode: themeMode, |
| | | |
| | | // Website gray mode, open for possible mourning dates |
| | | grayMode: false, |
| | |
| | | showLogo: true, |
| | | |
| | | // Whether to show footer |
| | | showFooter: true, |
| | | showFooter: false, |
| | | |
| | | // locale setting |
| | | locale: { |
| | |
| | | theme: ThemeEnum.LIGHT, |
| | | // Whether to enable the lock screen function |
| | | useLockPage: true, |
| | | // Whether to show the refresh button |
| | | showRedo: true, |
| | | |
| | | // Whether to show the full screen button |
| | | showFullScreen: true, |
| | | // Whether to show the document button |
| | | showDoc: true, |
| | | // Whether to show the notification button |
| | | showNotice: true, |
| | | // Whether to display the menu search |
| | | showSearch: true, |
| | | }, |
| | | |
| | | // Menu configuration |
| | | menuSetting: { |
| | | // sidebar menu bg color |
| | | bgColor: '#273352', |
| | | bgColor: '#001529', |
| | | // Whether to fix the left menu |
| | | fixed: true, |
| | | // Menu collapse |
| | |
| | | // Whether to show no dom |
| | | show: true, |
| | | // Whether to show dom |
| | | hidden: true, |
| | | hidden: false, |
| | | // Menu width |
| | | menuWidth: 210, |
| | | // Menu mode |
| | |
| | | split: false, |
| | | // Top menu layout |
| | | topMenuAlign: 'center', |
| | | // Hide the search box when the menu is collapsed |
| | | collapsedShowSearch: false, |
| | | // Fold trigger position |
| | | trigger: TriggerEnum.HEADER, |
| | | // Turn on accordion mode, only show a menu |
| | | accordion: true, |
| | | // Switch page to close menu |
| | | closeMixSidebarOnChange: false, |
| | | // Module opening method ‘click’ |'hover' |
| | | mixSideTrigger: MixSidebarTriggerEnum.CLICK, |
| | | // Fixed expanded menu |
| | | mixSideFixed: false, |
| | | }, |
| | | |
| | | // Multi-label |
| | |
| | | canDrag: true, |
| | | // Turn on quick actions |
| | | showQuick: true, |
| | | |
| | | // Whether to show the refresh button |
| | | showRedo: true, |
| | | // Whether to show the collapse button |
| | | showFold: true, |
| | | }, |
| | | |
| | | // Transition Setting |
| | |
| | | |
| | | // Whether to cancel the http request that has been sent but not responded when switching the interface. |
| | | // If it is enabled, I want to overwrite a single interface. Can be set in a separate interface |
| | | removeAllHttpPending: true, |
| | | removeAllHttpPending: false, |
| | | }; |
| | | |
| | | export default setting; |