src/router/index.js
@@ -83,4 +83,21 @@ const router = createRouter() // router.beforeEach((to, from, next) => { // must call `next` // console.log(to, from) // if (to.path === "/custom/salesLead") { // next() // } else { // if (to.meta.requireAuth) { // next({ // path: "/login", // query: { redirect: to.fullPath } // }) // } else { // next() // } // } // }) export default router