摘要:
created () { this.$store.replaceState(Object.assign(this.$store.state,JSON.parse(localStorage.getItem("beforeunload")))); window.addEventListener('bef 阅读全文
摘要:
关闭:window.addEventListener('beforeunload',function(e){ dosomething }) 刷新: document.addEventListener('keydown',function(e){ disableF5(e) }) function di 阅读全文