Fixed #6351
parent
88952ee7c4
commit
cb3f89a3a3
|
@ -177,7 +177,7 @@ export default {
|
|||
let paste = event.clipboardData.getData('text');
|
||||
|
||||
if (paste.length) {
|
||||
let pastedCode = paste.substring(0, this.length + 1);
|
||||
let pastedCode = paste.substring(0, this.length);
|
||||
|
||||
if (!this.integerOnly || !isNaN(pastedCode)) {
|
||||
this.tokens = pastedCode.split('');
|
||||
|
|
Loading…
Reference in New Issue