Commit 4c195086 by Mark

说明

parent 0a505e4c
...@@ -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 } }
] ]
``` ```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment