修复打包错误

This commit is contained in:
xuncha
2026-01-31 15:39:59 +08:00
parent 6e3bb9e361
commit d47166e6f9
7 changed files with 50 additions and 31 deletions

View File

@@ -189,7 +189,7 @@ function ExportPage() {
}, [loadSessions])
useEffect(() => {
const removeListener = window.electronAPI.export.onProgress?.((payload) => {
const removeListener = window.electronAPI.export.onProgress?.((payload: { current: number; total: number; currentSession: string; phase: string }) => {
setExportProgress({
current: payload.current,
total: payload.total,