[webapp,manager] 路由守卫,升级sureness
This commit is contained in:
@@ -35,6 +35,10 @@ export class LocalStorageService {
|
||||
return this.putData(Authorization, token);
|
||||
}
|
||||
|
||||
public hasAuthorizationToken() {
|
||||
return localStorage.getItem(Authorization) === null;
|
||||
}
|
||||
|
||||
public clear() {
|
||||
localStorage.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user