[Vuejs]-How to properly delete popup

0👍

closePopUp requires an item argument based on your code which you are not providing.

Try this:

if(obj.type === 'success') {
    setTimeout(() => this.closePopUp(newPopUp), 5000);
}

Leave a comment