fix:修复了导出时因为头像在后台加载导致的不导出的问题

This commit is contained in:
xuncha
2026-01-21 19:08:22 +08:00
parent 348f6c81bf
commit 21d785dd3c
4 changed files with 34 additions and 4 deletions

View File

@@ -314,6 +314,7 @@ export interface ElectronAPI {
success: boolean
error?: string
}>
onProgress: (callback: (payload: ExportProgress) => void) => () => void
}
whisper: {
downloadModel: () => Promise<{ success: boolean; modelPath?: string; tokensPath?: string; error?: string }>
@@ -334,6 +335,13 @@ export interface ExportOptions {
excelCompactColumns?: boolean
}
export interface ExportProgress {
current: number
total: number
currentSession: string
phase: 'preparing' | 'exporting' | 'writing' | 'complete'
}
export interface WxidInfo {
wxid: string
modifiedTime: number