From 978aa0dd6844e8d2915a6012da038ad529bdb8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E9=9B=84?= Date: Thu, 7 Sep 2023 02:31:23 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9csv=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E8=A7=84=E8=8C=83=20=E4=BF=AE=E6=94=B9csv=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 高雄 --- .../main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java b/server/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java index 1bddbbe4..82b1191f 100644 --- a/server/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java +++ b/server/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java @@ -64,7 +64,7 @@ public class OfficeFilePreviewImpl implements FilePreview { return XLSX_FILE_PREVIEW_PAGE; } if (suffix.equalsIgnoreCase("csv")) { - model.addAttribute("pdfUrl", KkFileUtils.htmlEscape(url)); + model.addAttribute("csvUrl", KkFileUtils.htmlEscape(url)); return CSV_FILE_PREVIEW_PAGE; } }