mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 16:43:09 +02:00
Fix bug
This commit is contained in:
parent
416d8f24ef
commit
93b0fe821b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue