赞
踩
ngOnInit() {
this.listenRouterChange();
}
listenRouterChange() {
this.rooterChange = this.router.events.pipe(
filter(event => event instanceof NavigationEnd)
).subscribe((res: any) => {
console.log(8888888);
});
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。