No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist pl

来源:互联网 发布:mac虚拟机iso镜像文件 编辑:程序博客网 时间:2024/06/16 02:45
解决办法
index.html 中添加
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
0 0