我是新開發的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? –