Fix bug
This commit is contained in:
parent
416d8f24ef
commit
93b0fe821b
|
@ -66,7 +66,7 @@ export default Vue.extend({
|
||||||
|
|
||||||
const err =
|
const err =
|
||||||
!this.nid.match(/^[a-zA-Z0-9_]+$/) ? 'invalid-format' :
|
!this.nid.match(/^[a-zA-Z0-9_]+$/) ? 'invalid-format' :
|
||||||
this.nid.length < 3 ? 'min-range' :
|
this.nid.length < 1 ? 'min-range' :
|
||||||
this.nid.length > 30 ? 'max-range' :
|
this.nid.length > 30 ? 'max-range' :
|
||||||
null;
|
null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue