Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
bc827ef3
Commit
bc827ef3
authored
Dec 02, 2019
by
RuoYi
Browse files
无法匹配到的页面返回跳转至404页,防止整个页面显示空白
parent
fee8a595
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/router/index.js
View file @
bc827ef3
...
...
@@ -93,7 +93,8 @@ export const constantRoutes = [
meta
:
{
title
:
'
修改生成配置
'
}
}
]
}
},
{
path
:
'
*
'
,
redirect
:
'
/404
'
,
hidden
:
true
}
]
export
default
new
Router
({
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment