💊 fix: 【新增红包】用户可领个数为红包总数,但是目前只能输入4位数字

This commit is contained in:
wangsongsole 2023-06-29 15:49:29 +08:00
parent 9e9f07ed4f
commit 112c07da8c
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ export default {
{ type: "required", message: "请输入用户可领个数" },
{
type: "regExp",
message: "请输入0~9999的整数",
reg: /^([0-9][0-9]{0,3})$/
message: "请输入1 ~ 100000个正整数红包",
reg: /^[1-9]\d{0,4}$|^100000$/
}
] // 领取个数
},