路由调整

This commit is contained in:
aoli.qu 2021-08-31 11:08:04 +08:00
parent ac57a0cb85
commit 917bdee613
2 changed files with 7 additions and 3 deletions

View File

@ -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 }
},
{

View File

@ -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