iframe打开新页面报错:
Blocked opening '<URL>' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
iframe的sandbox属性对呈现在iframe框架中的内容启用一些额外的限制条件。
在sandbox中新增如下:
<iframe sandbox="allow-forms allow-modals allow-popups allow-scripts allow-same-origin">