@gonsin/gview 2.0.108 → 2.0.110
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 +1843 -1827
- package/dist/types/constant/local.d.ts +1 -0
- package/dist/types/stores/setting.d.ts +3 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export declare const LOCAL_LOGIN_STATUS: string;
|
|
|
4
4
|
export declare const LOCAL_USER: string;
|
|
5
5
|
export declare const LOCAL_EDIFICE_INFO: string;
|
|
6
6
|
export declare const LOCAL_CONFIG: string;
|
|
7
|
+
export declare const LOCAL_BASE_PERMISSIONS: string;
|
|
7
8
|
export declare const LOCAL_USER_PERMISSIONS: string;
|
|
8
9
|
export declare const LOCAL_THEME_CONFIG: string;
|
|
9
10
|
export declare const LANG_CONFIG: string;
|
|
@@ -23,6 +23,7 @@ interface SettingState {
|
|
|
23
23
|
isTokenRefreshing: boolean;
|
|
24
24
|
sideHoverMenuTimer: any;
|
|
25
25
|
isSideHoverMenuShow: boolean;
|
|
26
|
+
basePermission: string[];
|
|
26
27
|
userPermission: string[];
|
|
27
28
|
}
|
|
28
29
|
export declare const useSettingStore: import("pinia").StoreDefinition<"setting", SettingState, {
|
|
@@ -86,7 +87,8 @@ export declare const useSettingStore: import("pinia").StoreDefinition<"setting",
|
|
|
86
87
|
*/
|
|
87
88
|
initUserToken(token: string): Promise<void>;
|
|
88
89
|
setSideMenuTree(userMenu: any): void;
|
|
89
|
-
|
|
90
|
+
setBasePermission(permissions: string[]): void;
|
|
91
|
+
setUserPermission(permissions: string[]): void;
|
|
90
92
|
/**
|
|
91
93
|
* @description 用户登录后初始化配置
|
|
92
94
|
*/
|