Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
renren-generator
Overview
Overview
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
吴迪
renren-generator
Commits
4c195086
Commit
4c195086
authored
Apr 10, 2018
by
Mark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
说明
parent
0a505e4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
README.md
README.md
+12
-10
No files found.
README.md
View file @
4c195086
...
@@ -54,15 +54,17 @@ export default {
...
@@ -54,15 +54,17 @@ export default {
```
javascript
```
javascript
children
:
[
children
:
[
// 以'/n'开头统一拦截, 标记为左侧菜单导航tab展示内容方式路由
// 通过isTab属性, 设定是否通过tab标签页展示内容
{
path
:
'/n/user'
,
component
:
_import
(
'user/index'
),
name
:
'user'
,
desc
:
'管理员管理'
},
{
path
:
'/home'
,
component
:
_import
(
'home/index'
),
name
:
'home'
,
desc
:
'首页'
},
{
path
:
'/n/role'
,
component
:
_import
(
'role/index'
),
name
:
'role'
,
desc
:
'角色管理'
},
{
path
:
'/layout-setting'
,
component
:
_import
(
'layout/setting'
),
name
:
'setting'
,
desc
:
'布局设置'
},
{
path
:
'/n/menu'
,
component
:
_import
(
'menu/index'
),
name
:
'menu'
,
desc
:
'菜单管理'
},
{
path
:
'/user'
,
component
:
_import
(
'user/index'
),
name
:
'user'
,
desc
:
'管理员管理'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/n/sql'
,
component
:
_import
(
'sql/index'
),
name
:
'sql'
,
desc
:
'SQL监控'
},
{
path
:
'/role'
,
component
:
_import
(
'role/index'
),
name
:
'role'
,
desc
:
'角色管理'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/n/schedule'
,
component
:
_import
(
'schedule/index'
),
name
:
'schedule'
,
desc
:
'定时任务'
},
{
path
:
'/menu'
,
component
:
_import
(
'menu/index'
),
name
:
'menu'
,
desc
:
'菜单管理'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/n/config'
,
component
:
_import
(
'config/index'
),
name
:
'config'
,
desc
:
'参数管理'
},
{
path
:
'/sql'
,
component
:
_import
(
'sql/index'
),
name
:
'sql'
,
desc
:
'SQL监控'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/n/oss'
,
component
:
_import
(
'oss/index'
),
name
:
'oss'
,
desc
:
'文件上传'
},
{
path
:
'/schedule'
,
component
:
_import
(
'schedule/index'
),
name
:
'schedule'
,
desc
:
'定时任务'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/n/goods'
,
component
:
_import
(
'goods/index'
),
name
:
'goods'
,
desc
:
'商品管理'
},
{
path
:
'/config'
,
component
:
_import
(
'config/index'
),
name
:
'config'
,
desc
:
'参数管理'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/n/log'
,
component
:
_import
(
'log/index'
),
name
:
'log'
,
desc
:
'系统日志'
}
{
path
:
'/oss'
,
component
:
_import
(
'oss/index'
),
name
:
'oss'
,
desc
:
'文件上传'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/goods'
,
component
:
_import
(
'goods/index'
),
name
:
'goods'
,
desc
:
'商品管理'
,
meta
:
{
isTab
:
true
}
},
{
path
:
'/log'
,
component
:
_import
(
'log/index'
),
name
:
'log'
,
desc
:
'系统日志'
,
meta
:
{
isTab
:
true
}
}
]
]
```
```
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