Skip to content

Commit

Permalink
修复压缩获取路径错误,图片合集路径错误,水印问题等BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoxiongzaq committed May 27, 2024
1 parent 48ac926 commit c8dc638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main/resources/web/compress.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit c8dc638

Please sign in to comment.