[英]Why I can't retrieve data from my webserver as json but i can when i test it on localhost
[英]I can't see JSON data in ionic3 when I use phone device, (JSON data from external Url)
注意:將Crossorigin用於此問題時,請考慮該站點具有1天的緩存。
將它們添加到您的config.xml中
<access origin="*" />
<allow-navigation href="*"/>
並確保您已安裝cordova-plugin-whitelist 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.