调整默认值
This commit is contained in:
@ -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,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否固定头部
|
* 是否固定头部
|
||||||
|
@ -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');
|
||||||
|
Reference in New Issue
Block a user