兑换码新增绑定数正则验证
This commit is contained in:
parent
99e99df028
commit
fb58e6f1a1
|
@ -4,7 +4,14 @@ export const codeInfo = {
|
|||
planSelect: [{ type: "required", message: "请选择归属计划" }],
|
||||
keyBatchSelect: [{ type: "required", message: "请选择归属Key" }],
|
||||
issued: [{ type: "required", message: "请输入发放总量" }],
|
||||
restrict: [{ type: "required", message: "请输入绑定数量" }]
|
||||
restrict: [
|
||||
{ type: "required", message: "请输入绑定数量" },
|
||||
{
|
||||
type: "regExp",
|
||||
message: "请输入大于0的正整数",
|
||||
reg: "^[0-9]*[1-9][0-9]*$"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
//基本规则
|
||||
|
|
Loading…
Reference in New Issue