mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 14:20:21 +08:00
feat(projects): 新增多页签缓存功能
This commit is contained in:
@@ -8,7 +8,7 @@ export function getSession<T>(key: string) {
|
||||
if (json) {
|
||||
return JSON.parse(json) as T;
|
||||
}
|
||||
return json;
|
||||
return null;
|
||||
}
|
||||
|
||||
export function removeSession(key: string) {
|
||||
|
||||
Reference in New Issue
Block a user