diff --git a/src/views/personal-center/overtime-application/index.vue b/src/views/personal-center/overtime-application/index.vue index 05dd58a..bb59b01 100644 --- a/src/views/personal-center/overtime-application/index.vue +++ b/src/views/personal-center/overtime-application/index.vue @@ -93,7 +93,7 @@ const ACTION_ICON_MAP = { edit: markRaw(IconMdiPencilOutline) }; -const canUseTeamDashboard = computed(() => hasAuth('project:work-report:team-dashboard')); +const canUseTeamDashboard = computed(() => hasAuth('project:overtime-application:team-dashboard')); const allSubordinateUserIds = computed(() => collectSubordinateUserIds(subordinateTree.value)); const selectedSubordinateNode = computed(() => findSubordinateNode(subordinateTree.value, selectedSubordinateUserId.value)