我是新开发的sapui5应用程序,我试图在Internet Explorer中测试我的应用程序。在Internet Explorer中测试Sapui5应用程序不起作用
当我在Google Chrome中测试时,我没有任何问题。请注意,我有chrome.exe中的下一个代码 - >--disable-web-security --user-data-dir
当我在资源管理器中启动应用程序时,第一页不加载。
在Firefox中,第一次加载页面,但我无法在应用中导航。
如果我删除从谷歌Chrome --disable-web-security --user-data-dir
PARAMS我得到了一个错误:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://my-app.es:port' is therefore not allowed access. The response had HTTP status code 401
我需要上传的应用网关。
有人可以帮助我吗?
谢谢!
我哪里有地方:访问控制,允许 - 来源:* –
它不会被放置在您的代码中。它必须在其所使用的资源所在的服务器上启用。现在如何启用取决于服务这些资源的服务器。 –
你从哪里访问你的UI5资源?网关系统,不同的服务器还是外部的CDN? –