
-
1、No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.
- 在控制台看到这句话…说明cordova-plugin-whitelist需要一个白名单…
在index.html下加入
1
2
<meta http-equiv="Content-Security-Policy"/>
在config.xml里加入
1
2<allow-navigation href="http://example.com/*"/>
<content src="http://www.example.com/"/> - 在控制台看到这句话…说明cordova-plugin-whitelist需要一个白名单…




近期评论