worklight 注销

方法一:
var login = Ext.create("Haier.view.Login");
        					login.on("deactivate", function(oldActiveItem, container,
        							newActiveItem, eOpts) {
        						if (oldActiveItem) {
        							Ext.Viewport.remove(oldActiveItem, true);
        						}
        					});
        					Ext.Viewport.setActiveItem(login);

方法二:
WL.Client.reloadApp();

你可能感兴趣的:(li)