使用window.open()打开新页面预览文件,父子页面均卡死,查资料找到解决方案:

window.open(url,"_blank","noopener");

加第三个参数“noopener”

参考:

https://blog.csdn.net/wuyulkl/article/details/125507986

https://www.cnblogs.com/minorf/p/12987230.html