Property 'canActivate' in type 'AuthGuardService' is not assignable to the same property in base type 'CanActivate'

前端 未结 0 1835
情歌与酒
情歌与酒 2020-11-21 20:25
export class AuthGuardService implements CanActivate {
  constructor(public authService: AuthService, public router: Router) {}
  async canActivate(
    route: Activ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题