feat: 新增权限测试页
This commit is contained in:
@@ -548,6 +548,15 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
||||
meta: {
|
||||
title: t('router.role')
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'test',
|
||||
component: () => import('@/views/Authorization/Test/Test.vue'),
|
||||
name: 'Test',
|
||||
meta: {
|
||||
title: t('router.permission'),
|
||||
permission: ['add', 'edit', 'delete']
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user