feat: 复习总览改用范围入口并移除标签导图旧块

This commit is contained in:
2026-11-20 17:55:27 +08:00
parent 7627f0651d
commit 469e8eb5e1
28 changed files with 1164 additions and 952 deletions
-2
View File
@@ -27,8 +27,6 @@ const setup = async (page: Page, previous: RecallDetail | null = null) => {
const type = request.postDataJSON().type; const task = { ...requestFixture(type === 'RECALL_HINT' ? 'HINT' : 'CHECK'), status: 'RUNNING' as const, result: null };
remote.requests = [task]; data = { ...task, targetNum: 'R001', createdTime: task.submittedAt, finishedTime: null };
} else if (path === '/ai/tasks/AI001') data = { ...remote.requests[0], targetNum: 'R001' };
else if (path === '/review/tag-mind-map/list') data = { current: 1, size: 20, total: 0, records: [] };
else if (path === '/review/summary') data = { taskTotal: 0, reportTotal: 0, fragmentTotal: 1 };
else if (path === '/markers/tags') data = [{ markerName: '中文', markerCount: 1, objectCount: 1 }];
await route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({ code: 200, data }) });
});