From 7f7ee30ff3af4965fdde87acffd58b7f7a8a2a9e Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 24 Feb 2022 20:36:58 +0800 Subject: [PATCH] edit --- src/app/core/startup/startup.service.ts | 4 +++- .../freight/list/detail/detail.component.html | 15 +++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) 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 @@ +

四要素验证: