From 30a6423973c5e76d7918e741f09607991317dddc Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 21 Sep 2017 20:21:44 +0800 Subject: [PATCH] remove global alert --- src/routes/Dashboard/Workplace.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/routes/Dashboard/Workplace.js b/src/routes/Dashboard/Workplace.js index cbd55285..40161a8a 100644 --- a/src/routes/Dashboard/Workplace.js +++ b/src/routes/Dashboard/Workplace.js @@ -2,7 +2,7 @@ import React, { PureComponent } from 'react'; import moment from 'moment'; import { connect } from 'dva'; 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 EditableLinkGroup from '../../components/EditableLinkGroup'; @@ -103,14 +103,6 @@ export default class Workplace extends PureComponent { chart: { radarData }, } = this.props; - const pageHeaderContent = ( - - ); - const pageHeaderTitle = (
@@ -144,7 +136,6 @@ export default class Workplace extends PureComponent { return ( -- GitLab