From ec98648e4d2e25c1946f3664e9cab169d4e5b092 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Wed, 15 Apr 2020 18:04:41 +0800
Subject: [PATCH] 菜单区分状态和显示隐藏功能
---
ruoyi-ui/src/router/index.js | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index 526d755..ec7bc7c 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -32,7 +32,7 @@
hidden: true,
children: [
{
- path: '/redirect/:path*',
+ path: '/redirect/:path(.*)',
component: () => import('@/views/redirect')
}
]
@@ -74,7 +74,7 @@
{
path: 'profile',
component: () => import('@/views/system/user/profile/index'),
- name: '个人中心',
+ name: 'Profile',
meta: { title: '个人中心', icon: 'user' }
}
]
@@ -87,10 +87,36 @@
{
path: 'type/data/:dictId(\\d+)',
component: () => import('@/views/system/dict/data'),
- name: '字典数据',
+ name: 'Data',
meta: { title: '字典数据', icon: '' }
}
]
+ },
+ {
+ path: '/job',
+ component: Layout,
+ hidden: true,
+ children: [
+ {
+ path: 'log',
+ component: () => import('@/views/monitor/job/log'),
+ name: 'JobLog',
+ meta: { title: '调度日志' }
+ }
+ ]
+ },
+ {
+ path: '/gen',
+ component: Layout,
+ hidden: true,
+ children: [
+ {
+ path: 'edit',
+ component: () => import('@/views/tool/gen/editTable'),
+ name: 'GenEdit',
+ meta: { title: '修改生成配置' }
+ }
+ ]
}
]
--
Gitblit v1.9.2