Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-06-29 20:09:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
48ca98422bdae2688fc14a9aaa04310906a3a2df
48ca9842
1 parent
3df93909
fix 404页面跳转测试
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
src/router/routes/modules/test/index.js
src/router/routes/modules/test/index.js
View file @
48ca984
/*
* @Date: 2022-06-15 17:09:03
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-29
18:36:37
* @LastEditTime: 2022-06-29
20:09:00
* @FilePath: /tswj/src/router/routes/modules/test/index.js
* @Description: 文件描述
*/
...
...
@@ -25,12 +25,10 @@ const index = [{
title
:
'测试slot插槽'
,
},
children
:
[],
},
{
},
{
// 配置404为动态路由中转页面
path
:
'/:pathMatch(.*)*'
,
redirect
:
'/404'
},
{
},
{
path
:
'/404'
,
name
:
'404'
,
component
:
()
=>
import
(
'@/views/test/404.vue'
),
...
...
Please
register
or
login
to post a comment