From 52faefc67ffef29e3d208d2233c2547fc0ee47d3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 04 三月 2023 21:11:41 +0800 Subject: [PATCH] 2023-03-04 --- src/menu/components/share/sourcecomponent/inputform/index.jsx | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/menu/components/share/sourcecomponent/inputform/index.jsx b/src/menu/components/share/sourcecomponent/inputform/index.jsx index 7518cf2..7652431 100644 --- a/src/menu/components/share/sourcecomponent/inputform/index.jsx +++ b/src/menu/components/share/sourcecomponent/inputform/index.jsx @@ -2,6 +2,7 @@ import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' import { Input, Form, Row, Col, Pagination, Empty, Button, Modal, notification } from 'antd' +import { PlusOutlined } from '@ant-design/icons' import Api from '@/api' import Utils from '@/utils/utils.js' @@ -17,9 +18,7 @@ class PopSource extends Component { static propTpyes = { - btnlog: PropTypes.array, - keyword: PropTypes.string, - handlelog: PropTypes.func + keyword: PropTypes.string } state = { @@ -174,8 +173,8 @@ </Form.Item> : null} {keyword === 'system' ? <Search value={searchKey} placeholder="" onChange={(e) => this.setState({searchKey: e.target.value})} onSearch={this.changeSearch} enterButton/> : null} - {keyword === 'system' ? <Button className="picture-plus mk-green" icon="plus" onClick={() => this.handleSource({typecharone: type})}> - 娣诲姞 + {keyword === 'system' ? <Button className="picture-plus mk-green" onClick={() => this.handleSource({typecharone: type})}> + <PlusOutlined /> 娣诲姞 </Button> : null} {keyword === 'system' && list.length ? <Row gutter={16} style={{minHeight: '250px'}}> -- Gitblit v1.8.0