From 5a2cde2e0aecccbd4e1242443c441cb0cafaefad Mon Sep 17 00:00:00 2001 From: xuminyui <576362016@qq.com> Date: Mon, 21 Oct 2024 15:15:01 +0800 Subject: [PATCH] fix --- utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/index.js b/utils/index.js index 1089879..ef4a5f8 100644 --- a/utils/index.js +++ b/utils/index.js @@ -34,7 +34,7 @@ export const hasPermission = (userPermission) => { : []; console.log( "jjajaj", - userPermissionList.some((e) => permissionList.includes(e)) + userPermissionList.some((e) => permissionList.includes(e), userPermission) ); return userPermissionList.some((e) => permissionList.includes(e)); };