From 7b544f9acfb2d3914a5afff4316dbf582226ee89 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Tue, 7 Mar 2023 15:47:09 +0800 Subject: [PATCH] -- fix bug --- src/utils/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/utils.js b/src/utils/utils.js index f11066a1..77f98431 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -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; }