From a1ada6764d995a892ce71f351e9516ef43eaf6d9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 24 十月 2024 10:53:38 +0800 Subject: [PATCH] 2024-10-24 --- src/views/menudesign/menuform/index.jsx | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/views/menudesign/menuform/index.jsx b/src/views/menudesign/menuform/index.jsx index 69232e6..ab5ec39 100644 --- a/src/views/menudesign/menuform/index.jsx +++ b/src/views/menudesign/menuform/index.jsx @@ -338,6 +338,23 @@ )} </Form.Item> </Col> + {config.permission !== 'false' ? <Col span={24}> + <Form.Item label={ + <Tooltip placement="topLeft" title="鏄惁妫�楠屽悗绔痵ql鐨勬潈闄愶紝浣跨敤鍚庣sql鑴氭湰鏃舵湁鏁堛��"> + <QuestionCircleOutlined className="mk-form-tip" /> + sql楠岃瘉 + </Tooltip> + }> + {getFieldDecorator('sqlperm', { + initialValue: config.sqlperm || 'true' + })( + <Radio.Group onChange={(e) => {this.selectChange('sqlperm', e.target.value)}}> + <Radio value="true">浣跨敤</Radio> + <Radio value="false">涓嶄娇鐢�</Radio> + </Radio.Group> + )} + </Form.Item> + </Col> : null} <Col span={24}> <Form.Item label={ <Tooltip placement="topLeft" title="鏁版嵁浼氱紦瀛樺埌鐢ㄦ埛鏈湴锛屾柟渚块〉闈㈠揩閫熷憟鐜般��"> -- Gitblit v1.8.0