Commit 11f8f391 by 张立顺

fix(venus-usedcar-quality): 路由白名单

1 parent 1e347a7c
Pipeline #186 for 11f8f391 failed in 0 seconds
...@@ -31,7 +31,7 @@ const router = createRouter({ ...@@ -31,7 +31,7 @@ const router = createRouter({
}); });
// 不需要登录的白名单路由 // 不需要登录的白名单路由
const WHITE_LIST = new Set([ "/inspect-report", "/login", "inspect-detail"]); const WHITE_LIST = new Set(["/inspect-detail", "/inspect-report", "/login"]);
router.beforeEach(async (to, from, next) => { router.beforeEach(async (to, from, next) => {
const userStore = useUserStore(); const userStore = useUserStore();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!