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/tabledesign/menuform/index.jsx | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/src/views/tabledesign/menuform/index.jsx b/src/views/tabledesign/menuform/index.jsx index e1a70b1..4efb09d 100644 --- a/src/views/tabledesign/menuform/index.jsx +++ b/src/views/tabledesign/menuform/index.jsx @@ -1,6 +1,7 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' -import { Form, Row, Col, Input, Select, notification, Switch, Radio } from 'antd' +import { Form, Row, Col, Input, Select, notification, Switch, Radio, Tooltip } from 'antd' +import { QuestionCircleOutlined } from '@ant-design/icons' import Api from '@/api' import asyncComponent from '@/utils/asyncComponent' @@ -340,6 +341,23 @@ </Form.Item> </Col> <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> + <Col span={24}> <Form.Item label="宸ヤ綔娴�"> {getFieldDecorator('process', { initialValue: config.process || 'false' -- Gitblit v1.8.0