diff --git a/web/client/src/sections/projectRegime/components/pointModel.js b/web/client/src/sections/projectRegime/components/pointModel.js index 6963fb1..2818258 100644 --- a/web/client/src/sections/projectRegime/components/pointModel.js +++ b/web/client/src/sections/projectRegime/components/pointModel.js @@ -97,7 +97,7 @@ const ProjectAddModel = ({ dispatch, actions, user, modelData, close, success, q > | #', pattern: new RegExp('^[^\\\\^/^|^:^*^?^\"^<^>^#]+$') },]} + rules={[{ required: true, message: '必填,名称不能包含 \\ / : * ? " < > | #', pattern: new RegExp('^[^\\\\/|:*?\"<>#]+$') },]} >