-3
Download: function(oEvent) {
var sUrl = "/sap/opu/odata/sap/ZDEMO_GW_SRV_SRV/SalesOrderSet?$format=xlsx";
var encodeUrl = encodeURI(sUrl);
sap.m.URLHelper.redirect(encodeUrl, true);
}
我寫在SAPUI5雲服務的代碼,但是,從第一行拋出以下錯誤:錯誤:語法錯誤:ESLint(語法解析):意外標識符的JavaScript
error:Syntax Error:ESLint(syntax-parse):unexpected identifier javascript