mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 生产环境缓存主题变更为sessionStorage
This commit is contained in:
9
src/typings/storage.d.ts
vendored
9
src/typings/storage.d.ts
vendored
@ -1,21 +1,20 @@
|
||||
declare namespace StorageInterface {
|
||||
/** localStorage的存储数据的类型 */
|
||||
interface Session {
|
||||
demoKey: string;
|
||||
/** 主题颜色 */
|
||||
themeColor: string;
|
||||
/** 主题配置 */
|
||||
themeSettings: Theme.Setting;
|
||||
}
|
||||
|
||||
/** localStorage的存储数据的类型 */
|
||||
interface Local {
|
||||
/** 主题颜色 */
|
||||
themeColor: string;
|
||||
/** 用户token */
|
||||
token: string;
|
||||
/** 用户刷新token */
|
||||
refreshToken: string;
|
||||
/** 用户信息 */
|
||||
userInfo: Auth.UserInfo;
|
||||
/** 主题配置 */
|
||||
themeSettings: Theme.Setting;
|
||||
/** 多页签路由信息 */
|
||||
multiTabRoutes: App.GlobalTabRoute[];
|
||||
/** 本地语言缓存 */
|
||||
|
Reference in New Issue
Block a user