Update PracticeWords.vue

This commit is contained in:
Zyronon
2025-10-28 12:54:59 +08:00
committed by GitHub
parent f9418a28d5
commit b5fdd71194

View File

@@ -272,8 +272,8 @@ async function next(isTyping: boolean = true) {
} else {
isTypingWrongWord.value = false
console.log('当前学完了,没错词', statStore.total, statStore.step, data.index)
//学完了
if (statStore.step === 8) {
//学完了,这里第 7 步如果无单词,加 3 就是 9 了
if (statStore.step >= 8) {
statStore.spend = Date.now() - statStore.startDate
console.log('全完学完了')
showStatDialog = true