office图片预览打开大图新开窗口

pull/9/head
陈精华 2019-04-26 14:24:49 +08:00 committed by kl
parent a49ee9d726
commit 50fb586e6f
1 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,11 @@
} else { } else {
url = url + "&officePreviewType="+previewType; url = url + "&officePreviewType="+previewType;
} }
window.location.href=url; if ('allImages' == previewType) {
window.open(url)
} else {
window.location.href = url;
}
} }
</script> </script>
</body> </body>