修复二级压缩包 反代情况下获取路径错误

This commit is contained in:
gaoxiongzaq
2023-12-19 14:37:08 +08:00
parent 9de1ae8c11
commit 79b9d703dc
3 changed files with 9 additions and 6 deletions

View File

@ -52,7 +52,7 @@
function chooseNode(event, treeId, treeNode) {
if (!treeNode.isParent) {
var path = '${baseUrl}' + treeNode.id + "?kkCompressfileKey=" + '${fileName}';
var path = '${baseUrl}' + treeNode.id + "?kkCompressfileKey=" + '${fileTree}';
location.href = "${baseUrl}onlinePreview?url=" + encodeURIComponent(Base64.encode(path));
}
}