我正在尝试创建一个具有 AngularJS 1.5 依赖项的 chrome 插件。 在那,我收到了这个错误。
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' blob: filesystem: chrome-extension-resource:".
我无法理解这背后的问题。
同一个应用程序在网络应用程序上对我来说运行良好。为什么会出现此错误?
最佳答案
关于angularjs - AngularJS 1 中的 CSP 错误是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39586739/