feat: 复习总览改用范围入口并移除标签导图旧块
This commit is contained in:
@@ -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 }) });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user