接著看 CanActivate :如果通過驗證(return true)才能夠進入該routing path。 Angular2提供了一個interface,最重要的是實作 canActivate(next:ActivatedRouteSnapshot, ...
確定! 回上一頁