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