公共部分样式修改及table表头固定

This commit is contained in:
zhouyuejun
2018-11-15 18:29:19 +08:00
parent f30867e92b
commit 11cb7c366a
8 changed files with 97 additions and 63 deletions
-12
View File
@@ -193,18 +193,7 @@ export class PagesComponent implements OnInit {
this.router.events.pipe(
filter(event => event instanceof NavigationEnd),
// map(() => this.activatedRoute),
// map(route => {
// console.log(route)
// while (route.firstChild) route = route.firstChild;
// console.log('-----')
// return route;
// }),
// filter(route => route.outlet === 'primary'),
// mergeMap(route => route.data)
).subscribe((event) => {
// console.log(event['urlAfterRedirects'])
this.selectActiveMenu(this.menuData,event['urlAfterRedirects'])
});
@@ -227,7 +216,6 @@ export class PagesComponent implements OnInit {
item.isActive = false;
}
}else{
// item.isExpend = !item.isExpend;
this.selectActiveMenu(item.children,activeRoute)
}
})