From 2eaada6f6f71abfc90ccaeb6e3c471e42ae427da Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 21 十二月 2021 18:09:29 +0800 Subject: [PATCH] 2021-12-21 --- src/components/tabview/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/tabview/index.jsx b/src/components/tabview/index.jsx index 58f4ffa..d5320f5 100644 --- a/src/components/tabview/index.jsx +++ b/src/components/tabview/index.jsx @@ -2,7 +2,8 @@ import PropTypes from 'prop-types' import {connect} from 'react-redux' import { fromJS } from 'immutable' -import {Tabs, Icon, BackTop, notification} from 'antd' +import {Tabs, BackTop, notification} from 'antd' +import { RedoOutlined, CloseOutlined } from '@ant-design/icons' import moment from 'moment' import 'moment/locale/zh-cn' @@ -278,12 +279,12 @@ <Tabs.TabPane tab={ <span className="tab-control"> - <Icon type="redo" onClick={(e) => {this.refreshTabview(e, view)}}/> + <RedoOutlined onClick={(e) => {this.refreshTabview(e, view)}}/> <span className="tab-name" onClick={(e) => {this.changeTab(e, view)}}> {view.MenuName} </span> {view.type !== 'Home' ? - <Icon type="close" onClick={(e) => {e.stopPropagation();this.closeTabView(view.MenuID)}}/> : null + <CloseOutlined onClick={(e) => {e.stopPropagation();this.closeTabView(view.MenuID)}}/> : null } </span> } -- Gitblit v1.8.0