mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-23 12:00:35 +08:00
add frontend/vben from vben-admin-thin
This commit is contained in:
28
frontend/vben/src/enums/cacheEnum.ts
Normal file
28
frontend/vben/src/enums/cacheEnum.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
// token key
|
||||
export const TOKEN_KEY = 'TOKEN__'
|
||||
|
||||
export const LOCALE_KEY = 'LOCALE__'
|
||||
|
||||
// user info key
|
||||
export const USER_INFO_KEY = 'USER__INFO__'
|
||||
|
||||
// role info key
|
||||
export const ROLES_KEY = 'ROLES__KEY__'
|
||||
|
||||
// project config key
|
||||
export const PROJ_CFG_KEY = 'PROJ__CFG__KEY__'
|
||||
|
||||
export const MULTIPLE_TABS_KEY = 'MULTIPLE_TABS__KEY__'
|
||||
|
||||
export const APP_DARK_MODE_KEY_ = '__APP__DARK__MODE__'
|
||||
|
||||
// base global local key
|
||||
export const APP_LOCAL_CACHE_KEY = 'COMMON__LOCAL__KEY__'
|
||||
|
||||
// base global session key
|
||||
export const APP_SESSION_CACHE_KEY = 'COMMON__SESSION__KEY__'
|
||||
|
||||
export enum CacheTypeEnum {
|
||||
SESSION,
|
||||
LOCAL,
|
||||
}
|
||||
Reference in New Issue
Block a user