|
|
@ -97,7 +97,7 @@ const ProjectAddModel = ({ dispatch, actions, user, modelData, close, success, q |
|
|
|
> |
|
|
|
<Form.Item label='点位名称' name="name" style={{}} |
|
|
|
initialValue={modelData?.name} |
|
|
|
rules={[{ required: true, message: '必填,名称不能包含 \ / : * ? " < > | #', pattern: new RegExp('^[^\\\\^/^|^:^*^?^\"^<^>^#]+$') },]} |
|
|
|
rules={[{ required: true, message: '必填,名称不能包含 \\ / : * ? " < > | #', pattern: new RegExp('^[^\\\\/|:*?\"<>#]+$') },]} |
|
|
|
> |
|
|
|
<Input placeholder="请输入点位名称" allowClear /> |
|
|
|
</Form.Item> |
|
|
|