6.24 修改weboffice针对ie11兼容问题
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* @Author: zhoujianlong
|
||||
* @Date: 2021-06-09 15:29:07
|
||||
* @Last Modified by: zhoujianlong
|
||||
* @Last Modified time: 2022-04-11 20:13:27
|
||||
* @Last Modified time: 2022-06-24 23:26:28
|
||||
*/
|
||||
import { Button, Modal } from 'antd';
|
||||
import { LoadingOutlined } from '@ant-design/icons';
|
||||
@ -257,7 +257,7 @@ const WebOffice0609: React.FC<WebOfficeProps> = (props) => {
|
||||
//判断浏览器
|
||||
openUrl = '/webofficeComponent';
|
||||
}
|
||||
openUrl += `.html?readonly=${readOnly}&DocfileCode=${docFileCode_}&PDFfileCode=${pdfFileCode_}&HTMLfileCode=${htmlFileCode_}&savePDF=${savePDF}&saveHTML=${saveHTML}`;
|
||||
openUrl += `.html?readonly=${readOnly}&DocfileCode=${docFileCode_}&PDFfileCode=${pdfFileCode_}&HTMLfileCode=${htmlFileCode_}&savePDF=${savePDF}&saveHTML=${saveHTML}&varNtkoGUID=${window.ntkoBrowser.thisNTKOGUID}`;
|
||||
if (fileName != '') {
|
||||
const format = fileName.replace(/\//g, "-") //格式化文件名称
|
||||
openUrl += `&fileName=${format}`
|
||||
|
Reference in New Issue
Block a user