新增前端vue
This commit is contained in:
17
web-vue/packages/core/enums/cacheEnum.ts
Normal file
17
web-vue/packages/core/enums/cacheEnum.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export const TOKEN_KEY = 'TOKEN__';
|
||||
export const SESSION_TIMEOUT_KEY = 'SESSION_TIMEOUT__';
|
||||
export const USER_INFO_KEY = 'USER_INFO__';
|
||||
export const ROLES_KEY = 'ROLES__';
|
||||
export const LOCK_INFO_KEY = 'LOCK_INFO__';
|
||||
export const PROJ_CFG_KEY = 'PROJ_CFG__';
|
||||
export const MULTIPLE_TABS_KEY = 'MULTIPLE_TABS__';
|
||||
|
||||
export const LOCALE_KEY = 'LOCALE__';
|
||||
export const APP_DARK_MODE_KEY = 'APP_DARK_MODE__';
|
||||
export const APP_LOCAL_CACHE_KEY = 'COMMON_LOCAL__';
|
||||
export const APP_SESSION_CACHE_KEY = 'COMMON_SESSION__';
|
||||
|
||||
export enum CacheTypeEnum {
|
||||
SESSION,
|
||||
LOCAL,
|
||||
}
|
||||
Reference in New Issue
Block a user