0๐
โ
I suppose that your user object has prop id
, so you can pass that id to @click handler method.
<button @click="deleteUser(user.id)">Delete</button>
Source:stackexchange.com