fix:修复ecxel导出问题

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

View File

@@ -2364,7 +2364,10 @@ 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}`
const mediaItem = mediaCache.get(mediaKey)
const contentValue = mediaItem?.relativePath
|| this.formatPlainExportContent(
msg.content, msg.content,
msg.localType, msg.localType,
options, options,