mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
-- fix bug
This commit is contained in:
@@ -38,6 +38,9 @@ export function checkPer(per,createId) {
|
|||||||
if (store?.state?.userInfo?.roleList.some(t => t.code === "system-admin")) {
|
if (store?.state?.userInfo?.roleList.some(t => t.code === "system-admin")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (store?.state?.userInfo?.isHrbp) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (!per) {
|
if (!per) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user