liudong
2024-08-22 4257482df1dfea1503ba4db9ffef606ecaa977e0
src/utils/auth.ts
@@ -44,4 +44,8 @@
  localStorage.setItem(UserResources, info);
};
export { isLogin, getToken, setToken, clearToken,getAuthorization, setAuthorization, getUserInfo, setUserInfo,setUserResources,getUserResources};
const clearUserResources = () => {
  localStorage.removeItem(UserResources);
};
export { isLogin, getToken, setToken, clearToken,getAuthorization, setAuthorization, getUserInfo, setUserInfo,setUserResources,getUserResources,clearUserResources};