fix(projects): 修复登录的重定向地址

This commit is contained in:
Soybean
2021-09-16 13:58:11 +08:00
parent c1cdc3a9ed
commit f97f226656
24 changed files with 261 additions and 174 deletions

View File

@ -10,3 +10,11 @@ export function getSession<T>(key: string) {
}
return json;
}
export function removeSession(key: string) {
window.sessionStorage.removeItem(key);
}
export function clearSession() {
window.sessionStorage.clear();
}