NuxtN
Nuxt2y ago
1 reply
PRINCE

Is that possible to fetch data on delete item without manually calling fetchData?

what i wanna do is update the apidata on delete without calling fetchData() after delete. I've added watch(() => apidata, fetchData, { deep: true, once: true }); to achieve but not getting result.
so is that possible? Pls see the attached file.

Note: recently started exploring vue, so go easy
test.txt2.14KB
Was this page helpful?