mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 四种基本布局完成
This commit is contained in:
@ -50,6 +50,10 @@ const themeStore = defineStore({
|
||||
colorLoading
|
||||
}
|
||||
};
|
||||
},
|
||||
isVerticalNav(): boolean {
|
||||
const { mode } = this.navStyle;
|
||||
return mode === 'vertical' || mode === 'vertical-mix';
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
@ -75,6 +79,12 @@ const themeStore = defineStore({
|
||||
this.menuStyle.width = width;
|
||||
}
|
||||
},
|
||||
/** 更改混合菜单展开的宽度 */
|
||||
handleMixMenuWidth(width: number | null) {
|
||||
if (width !== null) {
|
||||
this.menuStyle.mixWidth = width;
|
||||
}
|
||||
},
|
||||
/** 更改头部的高度(不包含tab标签) */
|
||||
handleHeaderHeight(height: number | null) {
|
||||
if (height !== null) {
|
||||
|
Reference in New Issue
Block a user