在config.xml加上:(注:WKWebView会存在跨域问题) <preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine" />