Angular 的Router提供了一系列的方法,可以讓我們來決定是否允許使用者進入或是離開頁面 ... canActivate 接受Observable型態的function,範例如下 ...
確定! 回上一頁