修改密码
This commit is contained in:
parent
c591164c5a
commit
5c6d0d30a1
|
@ -16,7 +16,7 @@
|
|||
首页
|
||||
</el-dropdown-item>
|
||||
</router-link>
|
||||
<router-link to="/system/user/password">
|
||||
<router-link to="/changepassword">
|
||||
<el-dropdown-item divided>
|
||||
修改密码
|
||||
</el-dropdown-item>
|
||||
|
|
|
@ -268,7 +268,7 @@ export const asyncRoutes = [
|
|||
component: Layout,
|
||||
redirect: '/system/admin',
|
||||
name: 'System',
|
||||
meta: { title: '系统管理', icon: 'tree' },
|
||||
meta: { title: '系统管理', icon: 'tree', perms:[] },
|
||||
children: [
|
||||
{
|
||||
path: 'banner',
|
||||
|
@ -288,8 +288,25 @@ export const asyncRoutes = [
|
|||
component: () => import('@/views/system/role'),
|
||||
meta: { title: '管理员角色', icon: '', perms: ['role_manage'] }
|
||||
},
|
||||
// {
|
||||
// path: 'user/password',
|
||||
// name: 'ChangePassword',
|
||||
// component: () => import('@/views/system/changepassword'),
|
||||
// meta: { title: '修改密码', noCache: true, icon: ''},
|
||||
// hidden: true
|
||||
// },
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'user/password',
|
||||
path: '/changepassword',
|
||||
component: Layout,
|
||||
redirect: '/changepassword',
|
||||
name: 'ChangePW',
|
||||
meta: { title: '修改密码', icon: 'tree' },
|
||||
hidden:true,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'ChangePassword',
|
||||
component: () => import('@/views/system/changepassword'),
|
||||
meta: { title: '修改密码', noCache: true, icon: ''},
|
||||
|
|
Loading…
Reference in New Issue