From 1b89aa4493d1c9768447f2f480d594cdb8077fdc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 26 十月 2020 09:24:19 +0800 Subject: [PATCH] 2020-10-26 --- src/templates/zshare/modalform/fieldtable/index.jsx | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/templates/zshare/modalform/fieldtable/index.jsx b/src/templates/zshare/modalform/fieldtable/index.jsx index b11d76b..58ada4f 100644 --- a/src/templates/zshare/modalform/fieldtable/index.jsx +++ b/src/templates/zshare/modalform/fieldtable/index.jsx @@ -40,19 +40,10 @@ renderCell = (form) => { const { getFieldDecorator } = form - const { - editing, - dataIndex, - title, - inputType, - record, - index, - children, - onSave, - ...restProps - } = this.props; + const { editing, dataIndex, title, record, children, className } = this.props + return ( - <td {...restProps}> + <td className={className}> {editing ? ( <Form.Item style={{ margin: 0 }}> {getFieldDecorator(dataIndex, { -- Gitblit v1.8.0