Commit 30a64239 authored by afc163's avatar afc163

remove global alert

parent 8599753c
...@@ -2,7 +2,7 @@ import React, { PureComponent } from 'react'; ...@@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
import moment from 'moment'; import moment from 'moment';
import { connect } from 'dva'; import { connect } from 'dva';
import { Link } from 'dva/router'; import { Link } from 'dva/router';
import { Row, Col, Card, List, Avatar, Alert, Icon } from 'antd'; import { Row, Col, Card, List, Avatar, Icon } from 'antd';
import PageHeaderLayout from '../../layouts/PageHeaderLayout'; import PageHeaderLayout from '../../layouts/PageHeaderLayout';
import EditableLinkGroup from '../../components/EditableLinkGroup'; import EditableLinkGroup from '../../components/EditableLinkGroup';
...@@ -103,14 +103,6 @@ export default class Workplace extends PureComponent { ...@@ -103,14 +103,6 @@ export default class Workplace extends PureComponent {
chart: { radarData }, chart: { radarData },
} = this.props; } = this.props;
const pageHeaderContent = (
<Alert
message="平台迁移公告:平台将于本周六 03:00 ~ 04:00 进行迁移,请勿在此期间提交数据。"
type="warning"
showIcon
/>
);
const pageHeaderTitle = ( const pageHeaderTitle = (
<div className={styles.pageHeaderTitle}> <div className={styles.pageHeaderTitle}>
<div className={styles.titleAvatar}> <div className={styles.titleAvatar}>
...@@ -144,7 +136,6 @@ export default class Workplace extends PureComponent { ...@@ -144,7 +136,6 @@ export default class Workplace extends PureComponent {
return ( return (
<PageHeaderLayout <PageHeaderLayout
top={pageHeaderContent}
action={pageHeaderAction} action={pageHeaderAction}
title={pageHeaderTitle} title={pageHeaderTitle}
> >
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment