Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
周远喜
Admin
Commits
0e87e5ec
Commit
0e87e5ec
authored
Dec 21, 2019
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
5b24d0b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
index.vue
layouts/basic-layout/index.vue
+1
-1
dashboard.js
router/modules/dashboard.js
+2
-2
routes.js
router/routes.js
+17
-17
No files found.
layouts/basic-layout/index.vue
View file @
0e87e5ec
...
...
@@ -28,7 +28,7 @@
</transition>
<Content
class=
"i-layout-content"
:class=
"contentClasses"
>
<transition
name=
"fade-quick"
>
<
i-tabs
v-if=
"tabs"
v-show=
"showHeader"
/
>
<
!--
<i-tabs
v-if=
"tabs"
v-show=
"showHeader"
/>
--
>
</transition>
<div
class=
"i-layout-content-main"
>
<keep-alive
:include=
"keepAlive"
>
...
...
router/modules/dashboard.js
View file @
0e87e5ec
...
...
@@ -13,7 +13,7 @@ export default {
name
:
`
${
pre
}
console`
},
meta
,
component
:
BasicLayout
,
//
component: BasicLayout,
children
:
[
{
path
:
'console'
,
...
...
@@ -22,7 +22,7 @@ export default {
...
meta
,
title
:
'主控台'
},
component
:
()
=>
import
(
'@/pages/dashboard/console'
)
//
component: () => import('@/pages/dashboard/console')
}
]
};
router/routes.js
View file @
0e87e5ec
...
...
@@ -11,7 +11,7 @@ const frameIn = [
redirect
:
{
name
:
'dashboard-console'
},
component
:
BasicLayout
,
//
component: BasicLayout,
children
:
[
{
path
:
'index'
,
...
...
@@ -20,22 +20,22 @@ const frameIn = [
name
:
'dashboard-console'
}
},
{
path
:
'dic'
,
name
:
'dic'
,
redirect
:
{
name
:
'dashboard-console'
}
},
{
path
:
'log'
,
name
:
'log'
,
meta
:
{
title
:
'前端日志'
,
auth
:
true
},
component
:
()
=>
import
(
'@/pages/system/log'
)
},
//
{
//
path: 'dic',
//
name: 'dic',
//
redirect: {
//
name: 'dashboard-console'
//
}
//
},
//
{
//
path: 'log',
//
name: 'log',
//
meta: {
//
title: '前端日志',
//
auth: true
//
},
//
component: () => import('@/pages/system/log')
//
},
// 刷新页面 必须保留
{
path
:
'refresh'
,
...
...
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