首先我们要把

var win = window.open('', '运行窗口');
win.document.open();
win.document.close();
这几段打开窗口的代码放在ajax请求外面,
然后在ajax请求内部加上这段代码:
  success: function (data) {
                    setTimeout(() => {
                        win.document.write(data);
                    }, 50);
                },

即可。

相关文章:

  • 2021-07-10
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-05-17
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2021-08-23
  • 2021-12-13
相关资源
相似解决方案