更新时间:2023-12-05 17:07:28
我最终找到了适合我们的解决方案.我们没有将文档加载到隐藏的 iframe 中,而是使用此处描述的htmlfile"对象:http://cometdaily.com/2007/11/18/ie-activexhtmlfile-transport-part-ii/
I eventually found a solution that will work for us. Instead of loading the document into a hidden iframe, we're using the "htmlfile" object described here: http://cometdaily.com/2007/11/18/ie-activexhtmlfile-transport-part-ii/
这解决了 IE 平台上的问题.而在非IE平台上,我们可以使用XMLHttpRequest + CORS + chunk encoding.
This solves the problem on IE platforms. And on non-IE platforms, we can use XMLHttpRequest + CORS + chunk encoding.