This commit is contained in:
Taric Xin
2022-03-10 16:12:36 +08:00
parent 152c139041
commit 8c06e1f9de
16 changed files with 1286 additions and 15 deletions

View File

@ -38,8 +38,6 @@ export class AuthGuard extends ACLGuard {
}
private handle(route: ActivatedRouteSnapshot, state: RouterStateSnapshot, type: 1 | 2, router?: string): Observable<boolean> {
console.log(route, state);
if (!router) {
return type === 1 ? super.canActivate(route, state) : super.canActivateChild(route, state);
}