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 |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/templates/zshare/modalform/fieldtable/index.jsx b/src/templates/zshare/modalform/fieldtable/index.jsx
index 16a2b09..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,8 +117,8 @@
 
     return (
       <div className="modal-card-field-table">
-        {data.length < 3 ? <Icon className="add-row" type="plus" onClick={this.handleAdd} /> : null}
-        <EditTable data={data} columns={columns} onChange={this.changeData}/>
+        {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