🔱: [client] sync upgrade with 2 commits [trident-sync]

chore:
This commit is contained in:
GitHub Actions Bot
2024-07-28 19:23:50 +00:00
parent f97827ec76
commit b2971cf5fb
2 changed files with 6 additions and 0 deletions

View File

@@ -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);
});
},