diff --git a/src/views/teams/EditTeam.vue b/src/views/teams/EditTeam.vue index 003c6f72..0d1dcd1c 100644 --- a/src/views/teams/EditTeam.vue +++ b/src/views/teams/EditTeam.vue @@ -250,7 +250,10 @@ export default defineComponent({ async deleteUser() { try { - await this.teamMemberService.delete(this.member) + await this.teamMemberService.delete({ + teamId: this.team.id, + username: this.member.username, + }) this.$message.success({message: this.$t('team.edit.deleteUser.success')}) this.loadTeam() } finally {