diff --git a/src/config/router.config.js b/src/config/router.config.js index ebbbd14..8ef5af8 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -52,9 +52,9 @@ export const asyncRouterMap = [ meta: { title: '角色管理', keepAlive: true } }, { - path: '/security/resource', - name: 'SecurityResource', - component: () => import('@/views/security/resource/ResourceTree'), + path: '/security/menu', + name: 'SecurityMenu', + component: () => import('@/views/security/menu/MenuList'), meta: { title: '菜单管理', keepAlive: true } }, { diff --git a/src/core/lazy_use.js b/src/core/lazy_use.js index 8bdd5a7..5dd1817 100644 --- a/src/core/lazy_use.js +++ b/src/core/lazy_use.js @@ -46,7 +46,9 @@ import { message, notification, space, + Transfer, Tree, + Empty, TreeSelect } from 'ant-design-vue' import Viser from 'viser-vue' @@ -102,6 +104,8 @@ Vue.use(Statistic) Vue.use(Descriptions) Vue.use(space) Vue.use(Tree) +Vue.use(Transfer) +Vue.use(Empty) Vue.use(TreeSelect) Vue.prototype.$confirm = Modal.confirm