Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 11f8f391
authored
Apr 07, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(venus-usedcar-quality): 路由白名单
1 parent
1e347a7c
Pipeline
#186
for
11f8f391
failed
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/web/venus-usedcar-quality/src/router/index.ts
apps/web/venus-usedcar-quality/src/router/index.ts
View file @
11f8f39
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment