优化:压缩文件名支持有特殊字符

pull/12/head
陈精华 2019-09-04 17:32:37 +08:00 committed by kl
parent 2df88544d3
commit f3f36169ff
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@
fulls += ",resizable"; // 对于不支持screen属性的浏览器可以手工进行最大化。 manually
}
window.open("onlinePreview?url="
+ encodeURIComponent("${baseUrl}" + treeNode.fileName+"&fileKey="+treeNode.fileKey), "_blank",fulls);
+ encodeURIComponent("${baseUrl}" + treeNode.fileName)+"&fileKey="+ encodeURIComponent(treeNode.fileKey), "_blank",fulls);
}
}
}