|
|
|
@ -66,6 +66,9 @@ export class IndexComponent { |
|
|
|
|
// 侧边菜单展示开关
|
|
|
|
|
isCollapse = true; |
|
|
|
|
|
|
|
|
|
// 当前顶级菜单
|
|
|
|
|
currentParentMenu: any = {}; |
|
|
|
|
|
|
|
|
|
constructor( |
|
|
|
|
private storage: BrowserStorageService, |
|
|
|
|
private message: NzMessageService, |
|
|
|
@ -87,6 +90,7 @@ export class IndexComponent { |
|
|
|
|
this.router.navigateByUrl('/admin/index').finally(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.currentParentMenu = item; |
|
|
|
|
this.leftMenuData = item['childMenuList']; |
|
|
|
|
this.isCollapse = item['menuName'] === '首页'; |
|
|
|
|
|
|
|
|
|