fix
This commit is contained in:
parent
0266ad8e99
commit
3b135ba578
@ -32,5 +32,9 @@ export const hasPermission = (userPermission) => {
|
||||
let permissionList = uni.getStorageSync("ruleBtn")
|
||||
? uni.getStorageSync("ruleBtn")
|
||||
: [];
|
||||
console.log(
|
||||
"jjajaj",
|
||||
userPermissionList.some((e) => permissionList.includes(e))
|
||||
);
|
||||
return userPermissionList.some((e) => permissionList.includes(e));
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user