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:
@@ -1,6 +1,7 @@
|
||||
import React, { useEffect } from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
import { HomeOutlined } from '@ant-design/icons';
|
||||
import { HomeOutlined, CameraOutlined } from '@ant-design/icons';
|
||||
import { history } from '@umijs/max';
|
||||
import portalLogo from '@/assets/logo.png';
|
||||
import './index.less';
|
||||
|
||||
@@ -19,6 +20,10 @@ const EnterpriseHeader: React.FC = () => {
|
||||
window.open(PORTAL_HOME_URL, '_blank');
|
||||
};
|
||||
|
||||
const handleGoShowcase = () => {
|
||||
history.push('/management/enterprise-showcase');
|
||||
};
|
||||
|
||||
const header = (
|
||||
<div className="enterprise-header">
|
||||
<div className="header-left">
|
||||
@@ -28,6 +33,10 @@ const EnterpriseHeader: React.FC = () => {
|
||||
</div>
|
||||
|
||||
<div className="header-right">
|
||||
<div className="home-link-btn" onClick={handleGoShowcase}>
|
||||
<CameraOutlined />
|
||||
<span>企业风采</span>
|
||||
</div>
|
||||
<div className="home-link-btn" onClick={handleGoHome}>
|
||||
<HomeOutlined />
|
||||
<span>返回首页</span>
|
||||
|
||||
Reference in New Issue
Block a user