mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
build(deps): 依赖升级
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import type { ThemeSettings } from '@/interface';
|
||||
import { EnumAnimate } from '@/enum';
|
||||
import type { ThemeSettings } from '../../interface';
|
||||
import { EnumAnimate } from '../../enum';
|
||||
|
||||
const themeColorList = [
|
||||
'#409EFF',
|
||||
|
||||
@ -70,12 +70,16 @@ const themeStore = defineStore({
|
||||
this.menuStyle.splitMenu = isSplit;
|
||||
},
|
||||
/** 更改菜单展开的宽度 */
|
||||
handleMenuWidth(width: number) {
|
||||
this.menuStyle.width = width;
|
||||
handleMenuWidth(width: number | null) {
|
||||
if (width !== null) {
|
||||
this.menuStyle.width = width;
|
||||
}
|
||||
},
|
||||
/** 更改头部的高度(不包含tab标签) */
|
||||
handleHeaderHeight(height: number) {
|
||||
this.headerStyle.height = height;
|
||||
handleHeaderHeight(height: number | null) {
|
||||
if (height !== null) {
|
||||
this.headerStyle.height = height;
|
||||
}
|
||||
},
|
||||
/** 固定头部 */
|
||||
handleFixedHeader(isFixed: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user