111
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
This commit is contained in:
@@ -173,7 +173,11 @@ const JobPortalHeader: React.FC<JobPortalHeaderProps> = ({
|
||||
};
|
||||
|
||||
// 处理导航点击
|
||||
const handleNavClick = (path: string) => {
|
||||
const handleNavClick = (path: string, wl: boolean = false) => {
|
||||
if (wl) {
|
||||
window.open(path, '_blank');
|
||||
return;
|
||||
}
|
||||
history.push(path);
|
||||
};
|
||||
|
||||
@@ -184,7 +188,8 @@ const JobPortalHeader: React.FC<JobPortalHeaderProps> = ({
|
||||
clearSessionToken();
|
||||
setRemoteMenu(null);
|
||||
message.success('退出登录成功');
|
||||
history.push('/user/login');
|
||||
// history.push('/user/login');
|
||||
window.location.href = 'http://218.31.252.15:9081/hrss-web-vue/home';
|
||||
} catch (error) {
|
||||
message.error('退出登录失败');
|
||||
}
|
||||
@@ -236,8 +241,9 @@ const JobPortalHeader: React.FC<JobPortalHeaderProps> = ({
|
||||
<div className="header-nav">
|
||||
<div className="nav-container">
|
||||
<div className="nav-left">
|
||||
<div className="logo" onClick={() => handleNavClick('/job-portal')}>
|
||||
<span className="logo-text">石河子智慧就业服务平台</span>
|
||||
{/* <div className="logo" onClick={() => handleNavClick('/job-portal')}> */}
|
||||
<div className="logo" onClick={() => handleNavClick('http://218.31.252.15:9081/hrss-web-vue/home', true)}>
|
||||
<span className="logo-text">石河子智慧就业</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="nav-right">
|
||||
|
||||
Reference in New Issue
Block a user