@gonsin/gview 2.0.92 → 2.0.93
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.
|
@@ -12,3 +12,4 @@ export declare const LOCAL_DATA_ID = "dataId";
|
|
|
12
12
|
export declare const LOCAL_SESSION_ID = "sessionId";
|
|
13
13
|
export declare const SESSION_FORM_DATA_CACHE = "formDataCache";
|
|
14
14
|
export declare const SESSION_COLUMN_DATA = "columnData";
|
|
15
|
+
export declare const SESSION_USER_PERMISSION = "permissions";
|
|
@@ -23,6 +23,7 @@ interface SettingState {
|
|
|
23
23
|
isTokenRefreshing: boolean;
|
|
24
24
|
sideHoverMenuTimer: any;
|
|
25
25
|
isSideHoverMenuShow: boolean;
|
|
26
|
+
userPermission: string[];
|
|
26
27
|
}
|
|
27
28
|
export declare const useSettingStore: import("pinia").StoreDefinition<"setting", SettingState, {
|
|
28
29
|
userType: (state: SettingState) => any;
|
|
@@ -60,6 +61,7 @@ export declare const useSettingStore: import("pinia").StoreDefinition<"setting",
|
|
|
60
61
|
*/
|
|
61
62
|
checkUserToken(): Promise<void>;
|
|
62
63
|
setSideMenuTree(userMenu: any): void;
|
|
64
|
+
setUserPermission(permissions: any): void;
|
|
63
65
|
/**
|
|
64
66
|
* @description 用户登录后初始化配置
|
|
65
67
|
*/
|