From 3bbb8c98fd999cfdaa6d7e061af04d3bdf47e1fd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 17 九月 2021 17:50:29 +0800 Subject: [PATCH] 2021-09-17 --- src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx b/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx index 055561e..d7000ac 100644 --- a/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx +++ b/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx @@ -617,6 +617,29 @@ </Form.Item> </Col> <Col span={12}> + <Form.Item label="琛ㄦ牸澶у皬"> + {getFieldDecorator('size', { + initialValue: setting.size || 'middle' + })( + <Radio.Group> + <Radio value="default">澶�</Radio> + <Radio value="middle">涓�</Radio> + <Radio value="small">灏�</Radio> + </Radio.Group>)} + </Form.Item> + </Col> + <Col span={12}> + <Form.Item label="浜嬪姟"> + {getFieldDecorator('transaction', { + initialValue: setting.transaction || 'false' + })( + <Radio.Group> + <Radio value="true">浣跨敤</Radio> + <Radio value="false">涓嶄娇鐢�</Radio> + </Radio.Group>)} + </Form.Item> + </Col> + <Col span={12}> <Form.Item label={ <Tooltip placement="topLeft" title="楂樼骇鎼滅储寮圭獥鐨勫搴︼紝娉細褰撳搴﹀�煎皬浜�100鏃惰〃绀哄崰绐楀彛鐨勭櫨鍒嗘瘮锛屽ぇ浜�100鏃惰〃绀哄搴︾殑缁濆鍊笺��"> <Icon type="question-circle" /> -- Gitblit v1.8.0