Skip to content

Commit e7cffe2

Browse files
committed
wip
1 parent 6fa4435 commit e7cffe2

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

apps/nuxt/app/composables/practice-words/usePracticeWordNavigator.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ export function createPracticeWordNavigator(deps: NavigatorDeps) {
140140
}
141141

142142
// ─── wordLoop 子步骤推进 ──────────────────────────────────────────────────────
143-
144143
function enterLoop(startIndex: number, endIndex: number, subStepIndex = 0) {
145144
activeCursor.value = {
146145
...activeCursor.value,
@@ -256,7 +255,6 @@ export function createPracticeWordNavigator(deps: NavigatorDeps) {
256255
}
257256

258257
// ─── 错词清空(由 onEnd wrongWordClear action 驱动) ────────────────────────
259-
260258
function runWrongWordRetry(action: PracticeWrongWordClearAction) {
261259
const data = deps.getPracticeData()
262260
// 实际 practiceType 由 resolvePhaseByCtxCursor 从 action.templateId 派生,无需在此设置
@@ -267,7 +265,6 @@ export function createPracticeWordNavigator(deps: NavigatorDeps) {
267265
}
268266

269267
// ─── 即时型 action 执行 ───────────────────────────────────────────────────────
270-
271268
function executeInstantAction(action: PracticeEndAction): void {
272269
if (action.type === 'collectWrongWords') {
273270
console.log(`[Nav] 收藏错词 → ${action.target}`)
@@ -428,7 +425,6 @@ export function createPracticeWordNavigator(deps: NavigatorDeps) {
428425

429426
if (atListEnd(data)) {
430427
handleListEnd(phase, ignoreLoop)
431-
return
432428
} else {
433429
runWordAdvance(phase)
434430
}

0 commit comments

Comments
 (0)