liudong
2024-08-18 753105ac88328bcf1a7ed9af92286bec0679c975
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};