[Vuejs]-Using Vue, how can I remove elements from the screen after they have been deleted?

0👍

You should avoid manipulating props directly, since props are supplied by the parent component and can be changed without notice. I would do something like this:

data(){
    return{
        completedItems[],
        localList: this.list
    }
}

Then, manipulate and bind the localList array instead of the prop, this should give you what you are looking for.

Leave a comment