feat(export): add persistent session export records in detail panel

This commit is contained in:
tisonhuang
2026-03-04 19:20:16 +08:00
parent 4b57e3e350
commit b6fd842d4e
4 changed files with 232 additions and 13 deletions

View File

@@ -6463,14 +6463,6 @@ class ExportService {
failCount++
failedSessionIds.push(sessionId)
console.error(`导出 ${sessionId} 失败:`, result.error)
onProgress?.({
current: computeAggregateCurrent(),
total: sessionIds.length,
currentSession: sessionInfo.displayName,
currentSessionId: sessionId,
phase: 'complete',
phaseLabel: '导出失败'
})
}
activeSessionRatios.delete(sessionId)
@@ -6480,7 +6472,8 @@ class ExportService {
total: sessionIds.length,
currentSession: sessionInfo.displayName,
currentSessionId: sessionId,
phase: 'exporting'
phase: 'complete',
phaseLabel: result.success ? '完成' : '导出失败'
})
return 'done'
} catch (error) {