调整默认值

This commit is contained in:
2025-08-15 15:46:26 +08:00
parent d325fb2505
commit 359c7ec47f
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ const setting: DefaultSettings = {
/** /**
* 侧边栏主题 深色主题theme-dark浅色主题theme-light * 侧边栏主题 深色主题theme-dark浅色主题theme-light
*/ */
sideTheme: 'theme-dark', sideTheme: 'theme-light',
/** /**
* 是否系统布局配置 * 是否系统布局配置
*/ */
@ -20,12 +20,12 @@ const setting: DefaultSettings = {
/** /**
* 是否显示顶部导航 * 是否显示顶部导航
*/ */
topNav: false, topNav: true,
/** /**
* 是否显示 tagsView * 是否显示 tagsView
*/ */
tagsView: true, tagsView: false,
/** /**
* 是否固定头部 * 是否固定头部

View File

@ -6,7 +6,7 @@ export const useAppStore = defineStore('app', () => {
const sidebar = reactive({ const sidebar = reactive({
opened: sidebarStatus.value ? !!+sidebarStatus.value : true, opened: sidebarStatus.value ? !!+sidebarStatus.value : true,
withoutAnimation: false, withoutAnimation: false,
hide: false hide: true
}); });
const device = ref<string>('desktop'); const device = ref<string>('desktop');
const size = useStorage<'large' | 'default' | 'small'>('size', 'default'); const size = useStorage<'large' | 'default' | 'small'>('size', 'default');