使用 window.frames[0].onerror 尝试 iframe 异常捕获

请打开控制台查看。