You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
2.1 KiB
87 lines
2.1 KiB
// import type { ProjectConfig } from '/#/config';
|
|
// import { MenuTypeEnum, MenuModeEnum, TriggerEnum, MixSidebarTriggerEnum } from '@/enums/menuEnum';
|
|
// import { CacheTypeEnum } from '@/enums/cacheEnum';
|
|
// import {
|
|
// ContentEnum,
|
|
// PermissionModeEnum,
|
|
// ThemeEnum,
|
|
// RouterTransitionEnum,
|
|
// SettingButtonPositionEnum,
|
|
// SessionTimeoutProcessingEnum,
|
|
// } from '@/enums/appEnum';
|
|
// import { SIDE_BAR_BG_COLOR_LIST, HEADER_PRESET_BG_COLOR_LIST } from './designSetting';
|
|
// import { primaryColor } from '../../build/config/themeConfig';
|
|
|
|
// ! You need to clear the browser cache after the change
|
|
const setting = {
|
|
showSettingButton: true,
|
|
showDarkModeToggle: true,
|
|
settingButtonPosition: 'auto',
|
|
permissionMode: 'ROUTE_MAPPING',
|
|
permissionCacheType: 1,
|
|
sessionTimeoutProcessing: 0,
|
|
themeColor: '#0960bd',
|
|
grayMode: false,
|
|
colorWeak: false,
|
|
fullContent: false,
|
|
contentMode: 'full',
|
|
showLogo: true,
|
|
showFooter: true,
|
|
headerSetting: {
|
|
bgColor: '#ffffff',
|
|
fixed: false,
|
|
show: true,
|
|
theme: 'light',
|
|
useLockPage: true,
|
|
showFullScreen: true,
|
|
showDoc: true,
|
|
showNotice: true,
|
|
showSearch: false,
|
|
},
|
|
menuSetting: {
|
|
bgColor: '#001529',
|
|
fixed: false,
|
|
collapsed: false,
|
|
siderHidden: false,
|
|
collapsedShowTitle: false,
|
|
canDrag: false,
|
|
show: true,
|
|
hidden: false,
|
|
menuWidth: 210,
|
|
mode: 'horizontal',
|
|
type: 'top-menu',
|
|
theme: 'dark',
|
|
topMenuAlign: 'end',
|
|
trigger: 'HEADER',
|
|
accordion: false,
|
|
closeMixSidebarOnChange: false,
|
|
mixSideTrigger: 'click',
|
|
mixSideFixed: false,
|
|
split: false,
|
|
},
|
|
multiTabsSetting: {
|
|
cache: false,
|
|
show: false,
|
|
canDrag: true,
|
|
showQuick: true,
|
|
showRedo: true,
|
|
showFold: true,
|
|
},
|
|
transitionSetting: {
|
|
enable: true,
|
|
basicTransition: 'fade-slide',
|
|
openPageLoading: true,
|
|
openNProgress: false,
|
|
},
|
|
openKeepAlive: true,
|
|
lockTime: 0,
|
|
showBreadCrumb: false,
|
|
showBreadCrumbIcon: false,
|
|
useErrorHandle: false,
|
|
useOpenBackTop: true,
|
|
canEmbedIFramePage: true,
|
|
closeMessageOnSwitch: true,
|
|
removeAllHttpPending: false,
|
|
};
|
|
export default setting;
|