1,优化URL报错,2,更新OFD组件 3,美化Excel 4,文本方法关闭字节流 5,新增多种类型文件预览 (#419)
1,优化URL报错 2,更新OFD组件 3,美化Excel 4,文本方法关闭字节流 5,新增xmind、eml、epub、"obj", "3ds", "stl", "ply", "off", "3dm", "fbx", "dae", "wrl", "3mf", "ifc","glb","o3dv","gltf","stp","bim","fcstd","step","iges","brep"格式 Co-authored-by: gaoxiongzaq <admin@cxcp.com>
This commit is contained in:
@ -362,6 +362,9 @@ function print() {
|
||||
if (list.length > 0) {
|
||||
if (!isIE()) {
|
||||
var mywindow = window.open("打印窗口", "_blank");
|
||||
mywindow.document.write('<!DOCTYPE html><html><head>'
|
||||
+'<style media="print">.page-break { page-break-inside: avoid; page-break-after: always; }</style>'
|
||||
+'</head><body></body</html>');
|
||||
var documentBody = mywindow.document.body;
|
||||
var _iterator2 = _createForOfIteratorHelper(list),
|
||||
_step2;
|
||||
|
||||
Reference in New Issue
Block a user