Commit 5b6ad07d authored by liboyang's avatar liboyang

退出bug解决

parent 8d29a75b
......@@ -246,6 +246,7 @@ angular.module('AvatarCheck', [
HttpService.logout(function(data) {
$rootScope.loginData = {userid:'用户未登录', login:false};
localStorage.clear();
$location.path("/login");
});
}
$scope.enterEvent = function(e,search) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment