From 4a8970e43aa886987c39ddc85ca1dd8b6e43806e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 24 八月 2022 14:46:54 +0800 Subject: [PATCH] 2022-08-24 --- src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx b/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx index b61e619..f047810 100644 --- a/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx +++ b/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx @@ -10,6 +10,8 @@ import CodeMirror from '@/templates/zshare/codemirror' import './index.scss' +const { TextArea } = Input + class SettingForm extends Component { static propTpyes = { dict: PropTypes.object, // 瀛楀吀椤� @@ -226,6 +228,16 @@ </Form.Item> </Col> : null} {interType === 'outer' ? <Col span={8}> + <Form.Item label="澶栭儴鍑芥暟"> + {getFieldDecorator('outerFunc', { + initialValue: setting.outerFunc || '', + rules: [ + + ] + })(<Input placeholder={''} autoComplete="off" />)} + </Form.Item> + </Col> : null} + {interType === 'outer' ? <Col span={24} className="data-source"> <Form.Item label="鎺ュ彛鍦板潃"> {getFieldDecorator('interface', { initialValue: setting.interface || '', @@ -235,17 +247,7 @@ message: this.props.dict['form.required.input'] + '鎺ュ彛鍦板潃!' }, ] - })(<Input placeholder={''} autoComplete="off" />)} - </Form.Item> - </Col> : null} - {interType === 'outer' ? <Col span={8}> - <Form.Item label="澶栭儴鍑芥暟"> - {getFieldDecorator('outerFunc', { - initialValue: setting.outerFunc || '', - rules: [ - - ] - })(<Input placeholder={''} autoComplete="off" />)} + })(<TextArea rows={2}/>)} </Form.Item> </Col> : null} {interType === 'system' ? <Col span={24} className="data-source" style={{paddingLeft: '7px'}}> -- Gitblit v1.8.0