优化了html导出

This commit is contained in:
xuncha committed 2026-02-06 23:09:20 +08:00
1 parent fe0e2e6592
commit 63ac715792
5 files changed
+486 -253

No files matched your search

+4
View File
@@ -959,6 +959,10 @@ function registerIpcHandlers() {
})
// 导出相关
ipcMain.handle('export:getExportStats', async (_, sessionIds: string[], options: any) => {
return exportService.getExportStats(sessionIds, options)
})
ipcMain.handle('export:exportSessions', async (event, sessionIds: string[], outputDir: string, options: ExportOptions) => {
const onProgress = (progress: ExportProgress) => {
if (!event.sender.isDestroyed()) {