edit
This commit is contained in:
@ -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);
|
||||||
|
|||||||
@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user