From 917bdee613f14abe99cecb85bfa6a2be0fb6af5b Mon Sep 17 00:00:00 2001 From: "aoli.qu" <408346101@qq.com> Date: Tue, 31 Aug 2021 11:08:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/router.config.js | 6 +++--- src/core/lazy_use.js | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) 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