调整config弹窗中cycle 字段的校验规则
This commit is contained in:
parent
2ddf0d9695
commit
a7b71a554e
|
@ -52,7 +52,10 @@
|
|||
v-decorator="[
|
||||
'days',
|
||||
{
|
||||
rules: [{ required: true, message: 'Please input days!' }],
|
||||
rules: [
|
||||
{ required: true, message: 'Please input days!' },
|
||||
{ pattern: new RegExp('^[1-9]\\d*$'), message: 'Please input a positive integer!' },
|
||||
],
|
||||
initialVale: this.formVal.days
|
||||
}
|
||||
]"
|
||||
|
|
Loading…
Reference in New Issue
Block a user