From bf772e586c29b4858366dbad143b1eaeca3c46ed Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 17 四月 2020 10:18:09 +0800 Subject: [PATCH] 2020-04-17 --- src/templates/subtableconfig/settingform/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/subtableconfig/settingform/index.jsx b/src/templates/subtableconfig/settingform/index.jsx index 0754355..2870677 100644 --- a/src/templates/subtableconfig/settingform/index.jsx +++ b/src/templates/subtableconfig/settingform/index.jsx @@ -82,7 +82,7 @@ let _type = this.props.form.getFieldValue('sysInterface') if (_type === 'true') { this.props.form.setFieldsValue({ - interface: window.GLOB.mainSystemApi || window.GLOB.subSystemApi + interface: window.GLOB.mainSystemApi || '' }) this.setState({ interReadonly: true @@ -98,7 +98,7 @@ onSysChange = (e) => { if (e.target.value === 'true') { this.props.form.setFieldsValue({ - interface: window.GLOB.mainSystemApi || window.GLOB.subSystemApi + interface: window.GLOB.mainSystemApi || '' }) this.setState({ interReadonly: true @@ -205,7 +205,7 @@ {interType === 'outer' ? <Col span={12}> <Form.Item label={dict['header.form.interface']}> {getFieldDecorator('interface', { - initialValue: data.sysInterface === 'true' ? (window.GLOB.mainSystemApi || window.GLOB.subSystemApi) : (data.interface || ''), + initialValue: data.sysInterface === 'true' ? (window.GLOB.mainSystemApi || '') : (data.interface || ''), rules: [ { required: true, -- Gitblit v1.8.0