diff --git a/src/router/acl.js b/src/router/acl.js index b765cbd9e..e5884c7cb 100644 --- a/src/router/acl.js +++ b/src/router/acl.js @@ -38,33 +38,5 @@ export default [ hidden: true } ] - }, - { - path: 'user-login-acl', - component: empty, - redirect: '', - children: [ - { - path: 'create', - name: 'UserLoginACLCreate', - component: () => import('@/views/acl/UserLoginACL/UserLoginACLCreateUpdate'), - meta: { title: i18n.t('route.UserLoginACLCreate'), activeMenu: '/users/users' }, - hidden: true - }, - { - path: ':id', - name: 'UserLoginACLDetail', - component: () => import('@/views/acl/UserLoginACL/UserDetail'), - meta: { title: i18n.t('route.UserLoginACL'), activeMenu: '/users/users' }, - hidden: true - }, - { - path: ':id/update', - name: 'UserLoginACLUpdate', - component: () => import('@/views/acl/UserLoginACL/UserLoginACLCreateUpdate'), - meta: { title: i18n.t('route.UserLoginACLUpdate'), activeMenu: '/users/users' }, - hidden: true - } - ] } ] diff --git a/src/router/users.js b/src/router/users.js index 6ea0aa177..445664e9f 100644 --- a/src/router/users.js +++ b/src/router/users.js @@ -1,4 +1,5 @@ import i18n from '@/i18n/i18n' +import empty from '@/layout/empty' export default [ { path: 'users', @@ -53,5 +54,33 @@ export default [ name: 'UserGroupDetail', hidden: true, meta: { title: i18n.t('route.UserGroupDetail'), activeMenu: '/users/groups' } + }, + { + path: 'user-login-acl', + component: empty, + redirect: '', + children: [ + { + path: 'create', + name: 'UserLoginACLCreate', + component: () => import('@/views/acl/UserLoginACL/UserLoginACLCreateUpdate'), + meta: { title: i18n.t('route.UserLoginACLCreate'), activeMenu: '/users/users' }, + hidden: true + }, + { + path: ':id', + name: 'UserLoginACLDetail', + component: () => import('@/views/acl/UserLoginACL/UserDetail'), + meta: { title: i18n.t('route.UserLoginACL'), activeMenu: '/users/users' }, + hidden: true + }, + { + path: ':id/update', + name: 'UserLoginACLUpdate', + component: () => import('@/views/acl/UserLoginACL/UserLoginACLCreateUpdate'), + meta: { title: i18n.t('route.UserLoginACLUpdate'), activeMenu: '/users/users' }, + hidden: true + } + ] } ]