!147 压缩包预览报错

Merge pull request !147 from xiaoyinkuangxue/master
pull/145/MERGE
陈精华 2023-06-19 01:59:38 +00:00 committed by Gitee
commit 19227fcbab
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 4 additions and 2 deletions

View File

@ -51,8 +51,10 @@
}; };
function chooseNode(event, treeId, treeNode) { function chooseNode(event, treeId, treeNode) {
var path = '${baseUrl}' + treeNode.id +"?fileKey="+'${fileName}'; if (!treeNode.isParent) {
location.href = "${baseUrl}onlinePreview?url=" + encodeURIComponent(Base64.encode(path)); var path = '${baseUrl}' + treeNode.id + "?fileKey=" + '${fileName}';
location.href = "${baseUrl}onlinePreview?url=" + encodeURIComponent(Base64.encode(path));
}
} }
$(document).ready(function () { $(document).ready(function () {