feat(projects): new layout,tab and add update theme settings

This commit is contained in:
Soybean
2023-03-13 20:49:33 +08:00
parent 488e6e3204
commit 912c3531c5
30 changed files with 386 additions and 93 deletions

View File

@ -61,6 +61,10 @@ export const useThemeStore = defineStore('theme-store', {
setLayoutMode(mode: UnionKey.ThemeLayoutMode) {
this.layout.mode = mode;
},
/** 设置滚动模式 */
setScrollMode(mode: UnionKey.ThemeScrollMode) {
this.scrollMode = mode;
},
/** 设置侧边栏反转色 */
setSiderInverted(isInverted: boolean) {
this.sider.inverted = isInverted;