Commit d04b5be0 by 张立顺

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

1 parent da338d4e
...@@ -31,7 +31,7 @@ const router = createRouter({ ...@@ -31,7 +31,7 @@ const router = createRouter({
}); });
// 不需要登录的白名单路由 // 不需要登录的白名单路由
const WHITE_LIST = new Set([ "/inspect-report", "/login"]); const WHITE_LIST = new Set([ "/inspect-report", "/login", "inspect-detail"]);
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!