(index):1 Refused to load the script 'https://unpkg.com/element-ui/lib/index.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval' http://cdnjs.cloudflare.com ". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
1
wunonglin 2021-01-11 15:12:52 +08:00
|
3
wei745359223 2021-01-11 15:20:45 +08:00
header 里追加一下信任 domian
https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CSP |
4
satoki OP @wei745359223 <meta http-equiv="content-security-policy-report-only" content="Content-Security-Policy: default-src 'self' *.trusted.com">是加这个嘛,没起作用
|
5
wei745359223 2021-01-11 15:28:29 +08:00
|
6
satoki OP @wei745359223 老哥方便的话加个 v 吧 MTc2MDE0OTc2NzQ=
|