fix:修复ecxel导出问题

This commit is contained in:
xuncha
2026-01-28 19:31:29 +08:00
parent 0a88275669
commit 893cdb4d92

View File

@@ -2364,12 +2364,15 @@ class ExportService {
const row = worksheet.getRow(currentRow)
row.height = 24
const contentValue = this.formatPlainExportContent(
msg.content,
msg.localType,
options,
voiceTranscriptMap.get(msg.localId)
)
const mediaKey = `${msg.localType}_${msg.localId}`
const mediaItem = mediaCache.get(mediaKey)
const contentValue = mediaItem?.relativePath
|| this.formatPlainExportContent(
msg.content,
msg.localType,
options,
voiceTranscriptMap.get(msg.localId)
)
// 调试日志
if (msg.localType === 3 || msg.localType === 47) {