mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-03-14 13:13:47 +08:00
修复二级压缩包 反代情况下获取路径错误
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user