调整压缩包 获取路径方法
调整压缩包 获取路径方法 Signed-off-by: 高雄 <admin@cxcp.com>
This commit is contained in:
parent
7dcd225cea
commit
e79c53156b
|
@ -49,17 +49,15 @@
|
|||
onClick: chooseNode,
|
||||
}
|
||||
};
|
||||
|
||||
function chooseNode(event, treeId, treeNode) {
|
||||
if (!treeNode.isParent) {
|
||||
var path = '${baseUrl}' + treeNode.id + "?kkCompressfileKey=" + '${fileTree}';
|
||||
var path = '${baseUrl}' + treeNode.id + "?kkCompressfileKey=" + '${fileTree}'+"&kkCompressfilepath=" + treeNode.id+"&fullfilename="+treeNode.name;
|
||||
location.href = "${baseUrl}onlinePreview?url=" + encodeURIComponent(Base64.encode(path));
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
var url = '${fileTree}';
|
||||
$.ajax({
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "${baseUrl}directory?urls="+encodeURIComponent(Base64.encode(url)),
|
||||
success: function (res) {
|
||||
|
|
Loading…
Reference in New Issue