You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within an app with Vue router, as we navigate back and forth. a component that use vuedals, event bus always remember the previous push call back event such as new, close, dismiss and as we visit the component page that use vuedals again it will push that same event again and again.
this is due to whenever component.vue created() hook is called, it keep push event new, close, dismiss to the event bus which previously remembered.
so when we close a modal will call function onClose(data) many times.
The text was updated successfully, but these errors were encountered:
Within an app with Vue router, as we navigate back and forth. a component that use vuedals, event bus always remember the previous push call back event such as new, close, dismiss and as we visit the component page that use vuedals again it will push that same event again and again.
this is due to whenever component.vue created() hook is called, it keep push event new, close, dismiss to the event bus which previously remembered.
so when we close a modal will call function onClose(data) many times.
The text was updated successfully, but these errors were encountered: