This commit is contained in:
Taric Xin
2022-02-22 11:12:03 +08:00
parent 8251848a6f
commit 38b0e711e2
3 changed files with 7 additions and 31 deletions

View File

@ -1,31 +1,10 @@
/*
* @Description :
* @Version : 1.0
* @Author : Shiming
* @Date : 2022-01-25 16:03:45
* @LastEditors : Shiming
* @LastEditTime : 2022-02-09 17:23:22
* @FilePath : \\tms-obc-web\\src\\app\\core\\guards\\auth.guard.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
import { Inject, Injectable, Injector } from '@angular/core';
import {
ActivatedRouteSnapshot,
CanActivate,
CanActivateChild,
CanDeactivate,
CanLoad,
Data,
Route,
Router,
RouterStateSnapshot,
UrlTree
} from '@angular/router';
import { ACLCanType, ACLGuard, ACLGuardType, ACLService } from '@delon/acl';
import { Injectable, Injector } from '@angular/core';
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
import { ACLGuard, ACLService } from '@delon/acl';
import { MenuService, SettingsService } from '@delon/theme';
import { BaseService, EAUserService } from '@shared';
import { EAUserService } from '@shared';
import { Observable, of } from 'rxjs';
import { delay, map, switchMap, tap } from 'rxjs/operators';
import { switchMap } from 'rxjs/operators';
@Injectable()
export class AuthGuard extends ACLGuard {