diff --git a/src/app/core/startup/startup.service.ts b/src/app/core/startup/startup.service.ts index b6c0d1dc..9b95436e 100644 --- a/src/app/core/startup/startup.service.ts +++ b/src/app/core/startup/startup.service.ts @@ -95,7 +95,9 @@ export class StartupService { // ACL:设置权限为全量 this.aclService.setFull(false); // 初始化菜单 - this.menuService.add(menuData); + if(menuData){ + this.menuService.add(menuData); + } // 设置页面标题的后缀 this.titleService.default = ''; this.titleService.suffix = appData.name; diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html index bd30936e..3247d6c7 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html @@ -123,6 +123,9 @@ +
四要素验证: