feat: can also see the menu without permission, but jump to 403
This commit is contained in:
@@ -54,6 +54,19 @@ const routes: RouteRecordRaw[] = [
|
||||
title: $t('page.demos.access.buttonControl'),
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AccessFrontendMenuVisible403',
|
||||
path: 'menu-visible-403',
|
||||
component: () =>
|
||||
import('#/views/demos/access/frontend/menu-visible-403.vue'),
|
||||
meta: {
|
||||
authority: ['no-body'],
|
||||
icon: 'mdi:button-cursor',
|
||||
menuVisibleWithForbidden: true,
|
||||
title: $t('page.demos.access.menuVisible403'),
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
name: 'AccessFrontendSuperVisible',
|
||||
path: 'super-visible',
|
||||
|
Reference in New Issue
Block a user