mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +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")) {
|
||||
return true;
|
||||
}
|
||||
if (store?.state?.userInfo?.isHrbp) {
|
||||
return true;
|
||||
}
|
||||
if (!per) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user