diff --git a/src/utils/projectTeam.ts b/src/utils/projectTeam.ts index 176c032..23f482d 100644 --- a/src/utils/projectTeam.ts +++ b/src/utils/projectTeam.ts @@ -5,7 +5,9 @@ import { ProjectTeamVO } from '@/api/project/projectTeam/types'; import useUserStore from '@/store/modules/user'; export const getProjectTeam = async () => { const isPermission = useUserStore().permissions.some((item) => item == 'project:team:list'); - if (!isPermission) return; + console.log(useUserStore().permissions); + + if (!isPermission && useUserStore().permissions[0] != '*:*:*') return; const { id } = $cache.local.getJSON('selectedProject'); const res = await listProjectTeam({