src/templates/sharecomponent/actioncomponent/verifyexcelout/customscript/index.jsx
@@ -115,7 +115,7 @@ this.props.form.setFieldsValue({ sql: record.sql, position: record.position || 'back' // position: record.position || 'back' }) } @@ -194,7 +194,7 @@ editItem: null }) this.props.form.setFieldsValue({ sql: '' sql: ' ' }) } else { this.setState({ @@ -212,7 +212,7 @@ }) this.props.form.setFieldsValue({ sql: '' sql: ' ' }) } @@ -232,6 +232,9 @@ } let _sql = this.props.form.getFieldValue('sql') if (/^\s+$/.test(_sql)) { _sql = '' } if (_sql) { _sql = _sql + `