各种页面校验功能补充优化

This commit is contained in:
Chopper
2021-09-24 18:19:09 +08:00
parent 20042786aa
commit 7ebb5e21d2
13 changed files with 179 additions and 137 deletions

View File

@@ -61,7 +61,8 @@ export const TEL = /0\d{2,3}-\d{7,8}/
// 正整数
export const INTEGER = {
pattern: /^[0-9]\d*$/,
pattern: /^[0-9]\d{0,10}|0$/,
message:'请输入正整数'
}