From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 十一月 2021 20:47:04 +0800 Subject: [PATCH] 2021-11-18 --- src/pc/createview/settingform/index.jsx | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/src/pc/createview/settingform/index.jsx b/src/pc/createview/settingform/index.jsx index f0be993..a8e54c8 100644 --- a/src/pc/createview/settingform/index.jsx +++ b/src/pc/createview/settingform/index.jsx @@ -1,6 +1,7 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' -import { Form, Row, Col, Select, Input } from 'antd' +import { Form, Row, Col, Select, Input, Tooltip } from 'antd' +import { QuestionCircleOutlined } from '@ant-design/icons' import './index.scss' @@ -86,6 +87,28 @@ </Form.Item> </Col> <Col span={20}> + <Form.Item label={ + <Tooltip placement="topLeft" title="鑷畾涔夎彍鍗旾D鍊笺��"> + <QuestionCircleOutlined className="mk-form-tip" /> + 鑿滃崟ID + </Tooltip> + }> + {getFieldDecorator('MenuId', { + initialValue: '', + rules: [{ + pattern: /^[0-9a-zA-Z]*$/ig, + message: '鑿滃崟ID鍙厑璁稿寘鍚暟瀛楁垨瀛楁瘝锛堝ぇ灏忓啓锛�' + }, { + min: 20, + message: '鑿滃崟ID鏈�鐭负20涓瓧绗�' + }, { + max: 40, + message: '鑿滃崟ID鏈�闀夸负40涓瓧绗�' + }] + })(<Input placeholder="" autoComplete="off" />)} + </Form.Item> + </Col> + <Col span={20}> <Form.Item label="澶嶅埗鑿滃崟"> {getFieldDecorator('copymenuId', { initialValue: '' -- Gitblit v1.8.0