Commit 9308865d authored by Bill's avatar Bill

fix: 修改考评单考评权重考评计分权重

parent 3016f42c
......@@ -250,7 +250,7 @@ export const evaluateAddSchema: ISchema = {
required: true,
},
{
pattern: /\d+/,
pattern: /^\d+$/,
message: intl.formatMessage({ id: 'member.evaluate.validate.number', defaultMessage: '请填写正整数' }),
}
]
......@@ -261,7 +261,7 @@ export const evaluateAddSchema: ISchema = {
required: false,
},
{
pattern: /\d+/,
pattern: /^\d+$/,
message: intl.formatMessage({ id: 'member.evaluate.validate.number', defaultMessage: '请填写正整数' }),
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment