mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
fix: 修复用户登出后回退还可以访问系统的问题
This commit is contained in:
@@ -59,6 +59,7 @@ const logout = () => {
|
||||
}).then((res) => {
|
||||
window.location.href = '/login';
|
||||
});
|
||||
localStorage.removeItem('userInfo');
|
||||
};
|
||||
|
||||
const LicenseLimitModal = () => {
|
||||
@@ -117,7 +118,7 @@ const AppContent = (props: { setlanguage: (language: string) => void }) => {
|
||||
<DProLayout.Container
|
||||
headerProps={{
|
||||
title: (
|
||||
<div>
|
||||
<div style={{ cursor: 'pointer' }}>
|
||||
<img className="header-logo" src={ksLogo} />
|
||||
</div>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user