Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
341bd633
Commit
341bd633
authored
Jul 21, 2021
by
无木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(demo): menu `error-log` link to 404 page
修复演示菜单的错误日志页面指向了404的问题
parent
571f2813
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
basic.ts
src/router/routes/basic.ts
+3
-0
feat.ts
src/router/routes/modules/demo/feat.ts
+1
-1
index.vue
src/views/sys/error-log/index.vue
+1
-1
No files found.
src/router/routes/basic.ts
View file @
341bd633
...
...
@@ -57,9 +57,11 @@ export const ERROR_LOG_ROUTE: AppRouteRecordRaw = {
path
:
'
/error-log
'
,
name
:
'
ErrorLog
'
,
component
:
LAYOUT
,
redirect
:
'
/error-log/list
'
,
meta
:
{
title
:
'
ErrorLog
'
,
hideBreadcrumb
:
true
,
hideChildrenInMenu
:
true
,
},
children
:
[
{
...
...
@@ -69,6 +71,7 @@ export const ERROR_LOG_ROUTE: AppRouteRecordRaw = {
meta
:
{
title
:
t
(
'
routes.basic.errorLogList
'
),
hideBreadcrumb
:
true
,
currentActiveMenu
:
'
/error-log
'
,
},
},
],
...
...
src/router/routes/modules/demo/feat.ts
View file @
341bd633
...
...
@@ -181,7 +181,7 @@ const feat: AppRouteModule = {
},
},
{
path
:
'
error-log
'
,
path
:
'
/
error-log
'
,
name
:
'
ErrorLog
'
,
component
:
()
=>
import
(
'
/@/views/sys/error-log/index.vue
'
),
meta
:
{
...
...
src/views/sys/error-log/index.vue
View file @
341bd633
...
...
@@ -35,7 +35,7 @@
import
DetailModal
from
'
./DetailModal.vue
'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'
/@/components/Table/index
'
;
import
{
useModal
}
from
'
/@/components/Modal
/index
'
;
import
{
useModal
}
from
'
/@/components/Modal
'
;
import
{
useMessage
}
from
'
/@/hooks/web/useMessage
'
;
import
{
useI18n
}
from
'
/@/hooks/web/useI18n
'
;
...
...
Write
Preview
Markdown
is supported
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