【发布时间】:2018-10-11 02:52:43
【问题描述】:
在我由 create-react-app 创建的 reactapp 中,当我尝试运行我的应用时,chrome 突然出现错误:
Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:3000/static/js/0.chunk.js' with computed
SHA-256 integrity 'hW0einVybma+FCDLYbayWASTmGI9JBE1dkrmPvDzJXQ='. The
resource has been blocked.
但是在 IE 中它可以正常工作。我所做的只是更改 Button 组件上的标签。如何避免在 chrome 上出现此错误?
【问题讨论】: