Answers for "vue dispatch action at tab close"

0

vue dispatch action at tab close

let that = this
window.addEventListener("beforeunload", function(event) {
    event.preventDefault();
    // problem line 
    that.$store.dispatch('CURR_TERMINAL_ACTION', that.id)
})
Posted by: Guest on December-30-2020

Code answers related to "vue dispatch action at tab close"

Code answers related to "Javascript"

Browse Popular Code Answers by Language