Import Router,NavigationEnd from angular/router and inject in the constructor. 2. Subscribe to the NavigationEnd event of the router.3.
確定! 回上一頁