kkFileView
kkFileView copied to clipboard
zip压缩包使用流文件预览问题
zip压缩包使用流文件时,下面子文件预览问题 解析的地址:
https://xxxxx.com/v2/23048&fullfilename=压缩包-v1.zip_/压缩包-v1.docx?kkCompressfileKey=23048&fullfilename=压缩包-v1.zip_
其实应该是:
https://xxxxx.com/v2/23048&fullfilename=压缩包-v1.zip_/谢谢v1.docx?kkCompressfileKey=23048&fullfilename=谢谢v1.docx_
是最新源码吗?
对,我刚才看了下,意外解决了。 /server/src/main/resources/web/compress.ftl 55行: 使用节点文件名称:+"&fullfilename="+treeNode.name var path = '${baseUrl}' + treeNode.id + "?kkCompressfileKey=" + '${fileTree}'+"&fullfilename="+treeNode.name;