-- fix bug

This commit is contained in:
yuping
2023-03-06 02:17:29 +08:00
parent 0ee463f7d1
commit 20b23b1518

View File

@@ -32,7 +32,7 @@ const admin = [5, 6, 8, 9, 11, 12];
//检查 管理权和归属权
export function checkPer(per) {
if (store?.state?.userInfo?.roleList.some(t => t.code === "learning-admin")) {
if (store?.state?.userInfo?.roleList.some(t => t.code === "system-admin")) {
return true;
}
if (!per) {