Commit b6a89479 by 宋祥

1.iframe预览PDF时隐藏头部工具栏

parent f99d5dff
...@@ -283,7 +283,7 @@ function previewFrame(url) { ...@@ -283,7 +283,7 @@ function previewFrame(url) {
// 替换地址中的file-download为file-preview // 替换地址中的file-download为file-preview
url = url.replace("file-download", "file-preview"); url = url.replace("file-download", "file-preview");
$("#previewFrame").css('display', ''); $("#previewFrame").css('display', '');
$("#previewFrame").attr("src", url); $("#previewFrame").attr("src", url + "#toolbar=0");
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment