Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
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
Administrator
web-monitor
Commits
86867377
Commit
86867377
authored
Nov 24, 2017
by
Pan
Committed by
花裤衩
Nov 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:rm role
parent
86096e4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
index.js
src/router/index.js
+1
-2
No files found.
src/router/index.js
View file @
86867377
...
...
@@ -14,7 +14,6 @@ import Layout from '../views/layout/Layout'
* redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
* name:'router-name' the name is used by <keep-alive> (must set!!!)
* meta : {
role: ['admin','editor'] will control the page role (you can set multiple roles)
title: 'title' the name show in submenu and breadcrumb (recommend set)
icon: 'svg-name' the icon show in the sidebar,
}
...
...
@@ -59,7 +58,7 @@ export const constantRouterMap = [
path
:
'index'
,
name
:
'Table'
,
component
:
_import
(
'table/index'
),
meta
:
{
title
:
'Table'
,
icon
:
'table'
,
role
:
[
'admin'
]
}}
meta
:
{
title
:
'Table'
,
icon
:
'table'
}}
]
},
...
...
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