src/router/index.js
@@ -119,12 +119,6 @@ // document.title = to.meta.title } }) router.beforeEach((to, from, next) => { if(from.name==="overview"){ localStorage.removeItem('pdfParams'); } next(); }); // router.beforeEach((to, from, next) => { // must call `next` // console.log(to, from)