From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/templates/modalconfig/settingform/index.jsx | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/templates/modalconfig/settingform/index.jsx b/src/templates/modalconfig/settingform/index.jsx index d2eea85..3b1efa7 100644 --- a/src/templates/modalconfig/settingform/index.jsx +++ b/src/templates/modalconfig/settingform/index.jsx @@ -96,14 +96,14 @@ })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit} />)} </Form.Item> </Col> - {appType !== 'mob' ? <Col span={12}> + {/* {appType !== 'mob' ? <Col span={12}> <Form.Item label="瀹藉害锛�%锛�"> {getFieldDecorator('width', { initialValue: config.setting.width - })(<InputNumber min={10} max={90} precision={0} onPressEnter={this.handleSubmit}/>)} + })(<InputNumber min={10} max={2000} precision={0} onPressEnter={this.handleSubmit}/>)} </Form.Item> - </Col> : null} - {appType === 'mob' ? <Col span={12}> + </Col> : null} */} + <Col span={12}> <Form.Item label={ <Tooltip placement="topLeft" title="瀹藉害灏忎簬100鏃朵负鐧惧垎鐜囷紝澶т簬100鏃朵负缁濆鍊笺��"> <QuestionCircleOutlined className="mk-form-tip" /> @@ -114,7 +114,7 @@ initialValue: config.setting.width })(<InputNumber min={10} max={2000} precision={0} onPressEnter={this.handleSubmit}/>)} </Form.Item> - </Col> : null} + </Col> <Col span={12}> <Form.Item label="鍒濆鐒︾偣"> {getFieldDecorator('focus', { @@ -183,13 +183,13 @@ </Form.Item> </Col> {appType !== 'mob' ? <Col span={12}> - <Form.Item label="鐐瑰嚮绌虹櫧澶�"> + <Form.Item label="鐐瑰嚮钂欏眰"> {getFieldDecorator('clickouter', { initialValue: config.setting.clickouter || 'unclose' })( <Radio.Group> - <Radio value="close">鍏抽棴</Radio> <Radio value="unclose">涓嶅叧闂�</Radio> + <Radio value="close">鍏抽棴</Radio> </Radio.Group> )} </Form.Item> @@ -223,8 +223,9 @@ })( <Radio.Group style={{whiteSpace: 'nowrap'}} onChange={(e) => this.setState({display: e.target.value})}> {appType !== 'mob' ? <Radio value="modal">妯℃�佹</Radio> : null} - <Radio value="prompt">鏄惁妗�</Radio> <Radio value="drawer">鎶藉眽</Radio> + <Radio value="prompt">鏄惁妗�</Radio> + <Radio value="exec">鐩存帴鎵ц</Radio> </Radio.Group> )} </Form.Item> -- Gitblit v1.8.0