From 80bb1ff64c96e6b22fd7985b4d34d86afab445c1 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Thu, 12 Jun 2025 15:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/evaluate/passwordBook/personnelPasswordBook.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html b/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html index 379c44d..8ebde17 100644 --- a/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html +++ b/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html @@ -173,7 +173,7 @@ } // 预览文件 function downloadFile(id) { - const filePath = fileList.filter(item => item.id === id)[0].filePath + const filePath = ctxPath +"/statics/"+ fileList.filter(item => item.id === id)[0].filePath.split('/upload/')[1] window.open(filePath) }