部署到 Windows 8.1 的 Cordova 版本 4.0 阻止外部模板
.when('/', {
controller: 'login',
templateUrl: 'http://ip-address/templates/login.html',
resolve: resolver('login')
})
注意:这不是 InAppBrowser 应用程序。index.html 是本地的,router.js config.xml 也是如此
<access origin="*" />
因此,不应出现任何跨域问题。