2 parents a4670ef + 5f67495 commit 6fdc084Copy full SHA for 6fdc084
1 file changed
packages/core/src/components/word/TypeWord.vue
@@ -457,6 +457,7 @@ async function onTyping(e: KeyboardEvent) {
457
input += letter
458
wrong = ''
459
playKeyboardAudio()
460
+ inputLock = false
461
} else {
462
typo()
463
wrong = letter
@@ -465,6 +466,7 @@ async function onTyping(e: KeyboardEvent) {
465
466
setTimeout(() => {
467
if (settingStore.inputWrongClear && !isTypingSentence()) input = ''
468
469
470
}, 500)
471
}
472
// 更新当前单词信息
@@ -484,8 +486,6 @@ async function onTyping(e: KeyboardEvent) {
484
486
completeTypeWord(true)
485
487
488
- } else {
- inputLock = false
489
490
491
0 commit comments