Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 navigateToUrl 类来允许用户下载一些内容 - 这在 Firefox 中运行良好,但是在 IE 中打开了一个新的空白页面,其中没有任何内容以及下载窗口(这是我想要显示的全部内容)对此有任何修复吗?干杯
在 navigateToURL 中保留第二个参数 "_self"... 示例:navigateToURL(url,"_self");
如果要在窗口中显示文件,则必须使用 iframe。
希望这能解决你的问题。