Skip to content

Commit b4c1aa2

Browse files
committed
fix exit
1 parent 0d0cf00 commit b4c1aa2

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

src/app/navbar/navbar.component.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,19 @@ export class NavbarComponent implements OnInit {
5353
const body={action: 'logout'};
5454
let self=this;
5555
this.applicationService.getResponse('logout',function(){
56-
self.applicationService.auth_user={
57-
user_id:0,
58-
username:"",
59-
passwd:"",
60-
logged:false,
61-
is_super_admin:false,
62-
is_cert_admin:false,
63-
is_app_admin:false,
64-
need_modify_pwd:false};
65-
self.router.navigate(['/login']);
56+
//
6657
},null,null);
58+
self.applicationService.auth_user={
59+
user_id:0,
60+
username:"",
61+
passwd:"",
62+
logged:false,
63+
is_super_admin:false,
64+
is_cert_admin:false,
65+
is_app_admin:false,
66+
need_modify_pwd:false
67+
};
68+
self.router.navigate(['/login']);
6769
}
6870

6971
}

0 commit comments

Comments
 (0)