-- fix bug

This commit is contained in:
yuping
2023-03-07 15:47:09 +08:00
parent 9336956cb1
commit 7b544f9acf

View File

@@ -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;
}