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) const row = worksheet.getRow(currentRow)
row.height = 24 row.height = 24
const contentValue = this.formatPlainExportContent( const mediaKey = `${msg.localType}_${msg.localId}`
msg.content, const mediaItem = mediaCache.get(mediaKey)
msg.localType, const contentValue = mediaItem?.relativePath
options, || this.formatPlainExportContent(
voiceTranscriptMap.get(msg.localId) msg.content,
) msg.localType,
options,
voiceTranscriptMap.get(msg.localId)
)
// 调试日志 // 调试日志
if (msg.localType === 3 || msg.localType === 47) { if (msg.localType === 3 || msg.localType === 47) {