更新时间:2021-06-30 23:21:32
您需要安装白名单插件 允许在您的 Cordova 应用程序中支持 XHR.没有它,您就无法发出外部请求.
You need to install the whitelist plugin to allow XHR support in your Cordova app. You can't make external requests without it.
运行:cordova plugin add https://github.com/apache/cordova-plugin-whitelist.git