mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): new storage system [新的本地数据存储系统]
This commit is contained in:
22
src/typings/storage.d.ts
vendored
Normal file
22
src/typings/storage.d.ts
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
declare namespace StorageInterface {
|
||||
/** localStorage的存储数据的类型 */
|
||||
interface Session {
|
||||
demoKey: string;
|
||||
}
|
||||
|
||||
/** 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