我将如何实现壳牌控制注销功能具有该API例如:https://sapui5.hana.ondemand.com/sdk/docs/api/symbols/sap.ui.commons.ApplicationHeader.html#event:logoffSAPUI5注销()与壳牌
var oLogoff = new sap.ui.commons.ApplicationHeader();
... // within the Shell (function logout)
logout : function(oEvent) {
oLogoff.fireLogoff(); // this.fireLogoff() also not working
},
...
编辑:
oShell.fireLogout();
- >似乎是正确的,但这种完在一个错误“没有足够的堆栈内存”..任何人有任何帮助吗?
我希望返回到登录页面...这是自动处理?