This commit is contained in:
syuilo 2018-04-14 23:41:25 +09:00 committed by GitHub
parent 416d8f24ef
commit 93b0fe821b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;