From bd1dfc9e6c9b9f8076ca2783ce598e0936b4c664 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 十二月 2021 14:36:03 +0800 Subject: [PATCH] 2021-12-22 --- src/templates/zshare/modalform/fieldtable/index.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/templates/zshare/modalform/fieldtable/index.jsx b/src/templates/zshare/modalform/fieldtable/index.jsx index ca85936..6f516b4 100644 --- a/src/templates/zshare/modalform/fieldtable/index.jsx +++ b/src/templates/zshare/modalform/fieldtable/index.jsx @@ -1,6 +1,7 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' -import { Icon, notification } from 'antd' +import { notification } from 'antd' +import { PlusOutlined } from '@ant-design/icons' import asyncComponent from '@/utils/asyncComponent' import Utils from '@/utils/utils.js' @@ -116,7 +117,7 @@ return ( <div className="modal-card-field-table"> - {data.length < 3 ? <Icon className="add-row" type="plus" onClick={this.handleAdd} /> : null} + {data.length < 3 ? <PlusOutlined className="add-row" onClick={this.handleAdd} /> : null} <EditTable actions={['edit', 'move', 'del']} data={data} columns={columns} onChange={this.changeData}/> </div> ) -- Gitblit v1.8.0