mirror of
https://github.com/certd/certd.git
synced 2026-04-15 13:32:37 +08:00
🔱: [client] sync upgrade with 2 commits [trident-sync]
chore:
This commit is contained in:
@@ -15,6 +15,9 @@ const util = {
|
||||
const permissionStore = usePermissionStore();
|
||||
const userPermissionList = permissionStore.getPermissions;
|
||||
return userPermissionList.some((permission: any) => {
|
||||
if (permission === "*") {
|
||||
return true;
|
||||
}
|
||||
return need.includes(permission);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user