@gonsin/gview 2.0.114 → 2.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +4273 -4144
- package/dist/style.css +1 -1
- package/dist/types/constant/local.d.ts +1 -0
- package/dist/types/stores/setting.d.ts +2 -0
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare const LOCAL_THEME_CONFIG: string;
|
|
|
10
10
|
export declare const LANG_CONFIG: string;
|
|
11
11
|
export declare const LOCAL_MENU: string;
|
|
12
12
|
export declare const LOCAL_SIDE_MENU_CONFIG: string;
|
|
13
|
+
export declare const LOCAL_SIDE_MENU_WIDTH: string;
|
|
13
14
|
export declare const LOCAL_INIT_TAB_MENU_LIST: string;
|
|
14
15
|
export declare const LOCAL_TAB_MENU: string;
|
|
15
16
|
export declare const TOKEN_NAME: string;
|
|
@@ -17,6 +17,7 @@ interface SettingState {
|
|
|
17
17
|
sideMenuTree: SideMenu[];
|
|
18
18
|
sideMenuExpanded: any[];
|
|
19
19
|
sideMenuScrollTop: number;
|
|
20
|
+
sideMenuWidth: number;
|
|
20
21
|
userLang: string;
|
|
21
22
|
token: string;
|
|
22
23
|
tokenExpiredTime: number;
|
|
@@ -68,6 +69,7 @@ export declare const useSettingStore: import("pinia").StoreDefinition<"setting",
|
|
|
68
69
|
* @description 设置用户登录状态
|
|
69
70
|
*/
|
|
70
71
|
setUserLoginStatus(status: boolean): void;
|
|
72
|
+
setSideMenuWidth(width: number): void;
|
|
71
73
|
/**
|
|
72
74
|
* @description: 初始化侧边栏菜单树状数据
|
|
73
75
|
* @param {SideMenu} menus
|