mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-06-28 13:34:24 +08:00
commit
19227fcbab
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user