From 85f8a82769f8f73d9941043dd8485492456cba1f Mon Sep 17 00:00:00 2001 From: iajinpeng <137772764@qq.com> Date: Tue, 30 Jan 2024 09:14:32 +0800 Subject: [PATCH] Update luckyexcel.umd.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复excel预览问题 --- server/src/main/resources/static/xlsx/luckyexcel.umd.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/main/resources/static/xlsx/luckyexcel.umd.js b/server/src/main/resources/static/xlsx/luckyexcel.umd.js index 64bb17832..caae51620 100644 --- a/server/src/main/resources/static/xlsx/luckyexcel.umd.js +++ b/server/src/main/resources/static/xlsx/luckyexcel.umd.js @@ -8056,6 +8056,9 @@ function (_super) { if (t == constant_1.ST_CellType["SharedString"]) { var siIndex = parseInt(v[0].value); + if (!sharedSI) { + return cellValue; + } var sharedSI = sharedStrings[siIndex]; var rFlag = sharedSI.getInnerElements("r");