This commit is contained in:
Taric Xin
2022-02-10 09:13:25 +08:00
parent 84b4ef6810
commit e5fd7489cf
2 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export class AuthGuard extends ACLGuard {
// this.srv1.setAbility(res.abilities || []); // this.srv1.setAbility(res.abilities || []);
// } // }
this.srv1.setAbility(res.abilities || []); this.srv1.setAbility(res.abilities || []);
this.menuService.resume(); // this.menuService.resume();
} }
if (type === 1) { if (type === 1) {
return super.canActivate(route, state); return super.canActivate(route, state);

View File

@ -61,6 +61,7 @@
}, },
{ {
"text": "货主员工详情", "text": "货主员工详情",
"hide": true,
"icon": "anticon anticon-dashboard", "icon": "anticon anticon-dashboard",
"link": "/usercenter/freight/user/view/:id" "link": "/usercenter/freight/user/view/:id"
} }