refactor: set current index on delete

This commit is contained in:
Net 2024-09-20 09:20:02 +07:00
parent 8e7435b500
commit 801e3c30bb

View file

@ -200,6 +200,7 @@ defineEmits<{
" "
@delete=" @delete="
async (index) => { async (index) => {
currentIndex = index;
await triggerDelete(obj[index]); await triggerDelete(obj[index]);
} }
" "