From c8dc638c29c18aa7eaa5f06bfd14b2315811dbc8 Mon Sep 17 00:00:00 2001 From: gaoxiongzaq Date: Mon, 27 May 2024 14:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8E=8B=E7=BC=A9=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF=EF=BC=8C=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=90=88=E9=9B=86=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=EF=BC=8C=E6=B0=B4=E5=8D=B0=E9=97=AE=E9=A2=98=E7=AD=89BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/main/resources/web/compress.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/resources/web/compress.ftl b/server/src/main/resources/web/compress.ftl index 2c27a9d9..b929d0c6 100644 --- a/server/src/main/resources/web/compress.ftl +++ b/server/src/main/resources/web/compress.ftl @@ -61,7 +61,7 @@ var currentUrl = window.location.href; var keyword = getQueryParam(currentUrl, 'watermarkTxt'); function chooseNode(event, treeId, treeNode) { if (!treeNode.isParent) { - var path = '${baseUrl}'+encodeURIComponent(treeNode.id)+"?kkCompressfileKey="+'${fileTree}'+"&kkCompressfilepath="+encodeURIComponent(treeNode.id)+"&fullfilename="+encodeURIComponent(treeNode.name); + var path = '${baseUrl}'+treeNode.id+"?kkCompressfileKey="+'${fileTree}'+"&kkCompressfilepath="+encodeURIComponent(treeNode.id)+"&fullfilename="+encodeURIComponent(treeNode.name); if (isNotEmpty(keyword)){ location.href = "${baseUrl}onlinePreview?url=" + encodeURIComponent(Base64.encode(path))+"&watermarkTxt="+keyword; }else{