Blocked from submission to '[http://xxxx.com/data](http://xxxx.com/data)' because the form's frame is sandboxed and the 'allow-forms' permission is not set.
以上错误是由于 iframe
元素的 sandboxed 属性默认设置导致的,添加 sandbox="allow-same-origin allow-scripts allow-forms"
设置即可
<iframe src="/demo_iframe_sandbox.html" sandbox="allow-same-origin allow-scripts allow-forms">
<p>Your browser does not support iframes.</p>
</iframe>