What do you want to save?
Add Code snippet
New code examples
-
Html 2021-10-09 02:52:03
vue array item splice transition removes last item
// This happens when you set them item key to index // Wrong: <div v-for="(item, index) in array" :key="index"></div> // Correct array = [{ item: 'example', id: 'unique-id' }] ... <div v-for="(item, index) in a... Add solution