八、React 异常捕获React 16 提供了一个内置函数componentDidCatch,使用它可以非常简单的 ... 对于iframe 的异常捕获,我们还得借力window.onerror:.
確定! 回上一頁