-
placeholder
placeholder
placeholder
@@ -80,3 +79,18 @@ meta:
order: 1
icon: carbon-home
+
+
diff --git a/src/setting/project.ts b/src/setting/project.ts
index fa7327d..52bd3d9 100644
--- a/src/setting/project.ts
+++ b/src/setting/project.ts
@@ -25,7 +25,7 @@ export const projectSetting: DefineAppConfigOptions = {
closeMessageOnSwitch: false,
removeAllHttpPending: true,
// permissionCacheType: CacheTypeEnum.LOCAL,
- settingButtonPosition: SettingButtonPositionEnum.AUTO,
+ settingButtonPosition: [SettingButtonPositionEnum.FIXED, SettingButtonPositionEnum.HEADER],
openSettingDrawer: false,
permissionMode: PermissionModeEnum.PERM,
sessionTimeoutProcessing: SessionTimeoutProcessingEnum.ROUTE_JUMP,
@@ -40,7 +40,7 @@ export const projectSetting: DefineAppConfigOptions = {
show: true,
visible: true,
fixed: false,
- width: 210,
+ width: 230,
mixSidebarWidth: 80,
collapsedWidth: 48,
collapsed: false,
@@ -60,10 +60,10 @@ export const projectSetting: DefineAppConfigOptions = {
subMenuWidth: 0,
},
header: {
- theme: ThemeEnum.DARK,
+ theme: ThemeEnum.LIGHT,
show: true,
visible: true,
- fixed: false,
+ fixed: true,
height: 48,
showDoc: true,
showBreadCrumb: true,
diff --git a/src/stores/theme.ts b/src/stores/theme.ts
index 6e2d0f0..03eec13 100644
--- a/src/stores/theme.ts
+++ b/src/stores/theme.ts
@@ -21,7 +21,7 @@ const initState: ThemeStoreState = {
},
theme: ThemeEnum.LIGHT,
sidebar: ThemeEnum.DARK,
- header: ThemeEnum.DARK,
+ header: ThemeEnum.LIGHT,
}
export const useThemeStore = defineStore('APP_THEME', () => {
diff --git a/src/types/app-config.d.ts b/src/types/app-config.d.ts
index 08f650d..2dbf68e 100644
--- a/src/types/app-config.d.ts
+++ b/src/types/app-config.d.ts
@@ -40,7 +40,7 @@ declare global {
// Permission mode
permissionMode: PermissionModeEnum
// Configure where the button is displayed
- settingButtonPosition: SettingButtonPositionEnum
+ settingButtonPosition: SettingButtonPositionEnum[]
// Configuration setting drawer open
openSettingDrawer: boolean
// Session timeout processing