Cordova的跨域请求处理其实很简单,只需在对应平台的Config.xml文件中,将
platforms\平台名\res\xml\config.xml
<access origin="*"/> 改为 <access origin="http://ip*"/>
Cordova的跨域请求处理其实很简单,只需在对应平台的Config.xml文件中,将
platforms\平台名\res\xml\config.xml
<access origin="*"/> 改为 <access origin="http://ip*"/>