feat(web): en update

This commit is contained in:
zhaoying
2026-01-16 12:11:02 +08:00
parent fcf9a92f11
commit 339f6280e1
7 changed files with 82 additions and 75 deletions

View File

@@ -1,7 +1,7 @@
import { cookieUtils } from './request'
export const clearAuthData = () => {
console.log("Clearing auth data and redirecting to login");
sessionStorage.clear();
localStorage.clear()
localStorage.removeItem('user')
localStorage.removeItem('breadcrumbs')
cookieUtils.clear();
}