fixed #5394 | replace isIntegerOnly with integerOnly
parent
d7c25df7b0
commit
f136b80b8a
|
@ -177,7 +177,7 @@ export default {
|
||||||
if (paste.length) {
|
if (paste.length) {
|
||||||
let pastedCode = paste.substring(0, this.length + 1);
|
let pastedCode = paste.substring(0, this.length + 1);
|
||||||
|
|
||||||
if (!this.isIntegerOnly || !isNaN(pastedCode)) {
|
if (!this.integerOnly || !isNaN(pastedCode)) {
|
||||||
this.tokens = pastedCode.split('');
|
this.tokens = pastedCode.split('');
|
||||||
this.updateModel(event);
|
this.updateModel(event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue