From 12c4dd8bb0bb4c523dcf2fbb81191a7f3556a430 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 15 一月 2020 12:50:22 +0800 Subject: [PATCH] 2020-01-15 --- src/templates/tableshare/searchform/index.jsx | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/templates/tableshare/searchform/index.jsx b/src/templates/tableshare/searchform/index.jsx index 0fc9570..63aeea8 100644 --- a/src/templates/tableshare/searchform/index.jsx +++ b/src/templates/tableshare/searchform/index.jsx @@ -293,7 +293,6 @@ </Form.Item> </Col> ) - } else if (item.type === 'textarea') { fields.push( <Col span={20} offset={4} key={index}> @@ -328,7 +327,6 @@ this.props.form.validateFieldsAndScroll((err, values) => { if (!err) { let isvalid = true - values.id = this.props.card.id values.uuid = this.props.card.uuid // 涓嬫媺鑿滃崟鎴栧叧鑱旇彍鍗� if ((values.type === 'multiselect' || values.type === 'select' || values.type === 'link') && values.resourceType === '0') { @@ -348,10 +346,7 @@ } if (isvalid) { - resolve({ - type: 'search', - values - }) + resolve(values) } else { notification.warning({ top: 92, -- Gitblit v1.8.0