|
|
@ -3,7 +3,6 @@ import {NgForOf} from "@angular/common"; |
|
|
|
import {NzTabComponent, NzTabSetComponent} from "ng-zorro-antd/tabs"; |
|
|
|
import {NzTabComponent, NzTabSetComponent} from "ng-zorro-antd/tabs"; |
|
|
|
import {ActivationEnd, Router, RouterOutlet} from "@angular/router"; |
|
|
|
import {ActivationEnd, Router, RouterOutlet} from "@angular/router"; |
|
|
|
import {filter} from "rxjs"; |
|
|
|
import {filter} from "rxjs"; |
|
|
|
import {MenuService} from "../../../servies/menu/menu.service"; |
|
|
|
|
|
|
|
import {NzCardComponent} from "ng-zorro-antd/card"; |
|
|
|
import {NzCardComponent} from "ng-zorro-antd/card"; |
|
|
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
|
@Component({ |
|
|
@ -45,7 +44,6 @@ export class TabComponent { |
|
|
|
let menuTitle = '新标签页'; |
|
|
|
let menuTitle = '新标签页'; |
|
|
|
if(routeData) { |
|
|
|
if(routeData) { |
|
|
|
menuTitle = routeData['title']; |
|
|
|
menuTitle = routeData['title']; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 该路由是否已激活,激活过则直接打开
|
|
|
|
// 该路由是否已激活,激活过则直接打开
|
|
|
|
let isExist = false; |
|
|
|
let isExist = false; |
|
|
|