|
发表于 2019-10-21 10:42:09
|
显示全部楼层
可以直接调用接口
http://域名:端口/x_organization_assemble_authentication/jaxrs/authentication
如果没改过端口 端口号一般是20020
或者 写一个函数,,但是最终也是调用接口
window.logout = function(){
if( layout.desktop.top ){
layout.desktop.top.logout();
}else if( layout.authentication ){
layout.authentication.logout();
}else{
MWF.Actions.get("x_organization_assemble_authentication").logout(function(){
window.location.reload();
}.bind(this));
}
} |
|