是这样的一个错误
解决办法,在head增加meta
<meta http-equiv="Content-Security-Policy" content="
default-src 'self' https://www.google-analytics.com;
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.google-analytics.com/ https://tagmanager.google.com/ https://www.googletagmanager.com/;
style-src 'self' 'unsafe-inline' https://pro.fontawesome.com/ https://www.google-analytics.com https://tagmanager.google.com/ https://www.googletagmanager.com/ https://fonts.googleapis.com/;
img-src 'self' 'unsafe-inline' https://www.google-analytics.com https://ssl.gstatic.com/ data:;
font-src 'self' 'unsafe-inline' https://pro.fontawesome.com/ https://fonts.gstatic.com/ data:;
" />