yangfeng
2023-07-10 8e7cd003414ea4ca8f42fb3171de18f8839ece17
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