Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1eb36385
authored
2022-11-03 15:59:31 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style;路由
1 parent
aa08c8f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
src/router/index.js
src/router/index.js
View file @
1eb3638
...
...
@@ -21,9 +21,18 @@ export const constantRoutes = [
]
},
{
path
:
'/404'
,
component
:
()
=>
import
(
'@/views/error-page/404'
),
hidden
:
true
path
:
'/'
,
component
:
Layout
,
meta
:
{
title
:
'404'
},
hidden
:
true
,
children
:
[
{
path
:
'404'
,
component
:
()
=>
import
(
'@/views/error-page/404'
),
name
:
'404'
,
meta
:
{
title
:
'404'
}
}
]
},
// 业务流程框架
{
...
...
@@ -43,8 +52,18 @@ export const constantRoutes = [
},
{
path
:
'*'
,
component
:
()
=>
import
(
'@/views/error-page/404'
),
hidden
:
true
component
:
Layout
,
meta
:
{
title
:
'404'
},
redirect
:
'/404'
,
hidden
:
true
,
children
:
[
{
path
:
'404'
,
component
:
()
=>
import
(
'@/views/error-page/404'
),
name
:
'404'
,
meta
:
{
title
:
'404'
}
}
]
},
]
/**
...
...
Please
register
or
sign in
to post a comment