antd-mobile浏览器控制台报错

浏览器控制台报错,大家有遇到的吗?

Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-aDF0S1KtOesRBAL1RZ+4udo7TvBPG3BaH1xB81dOuWk='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
阅读 2.5k
1 个回答

这跟 antd-mobile 没任何关系,应该是你自己的网站的 CSP 策略。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏