diff --git a/apps/backend-mock/src/modules/menu/menu.controller.ts b/apps/backend-mock/src/modules/menu/menu.controller.ts index ddf9755d..48456579 100644 --- a/apps/backend-mock/src/modules/menu/menu.controller.ts +++ b/apps/backend-mock/src/modules/menu/menu.controller.ts @@ -118,6 +118,17 @@ export class MenuController { title: 'page.demos.access.buttonControl', }, }, + { + name: 'AccessMenuVisible403', + path: 'menu-visible-403', + component: '/demos/access/menu-visible-403', + meta: { + authority: ['no-body'], + icon: 'mdi:button-cursor', + menuVisibleWithForbidden: true, + title: 'page.demos.access.menuVisible403', + }, + }, roleWithMenus[role], ], }, diff --git a/apps/web-antd/src/views/demos/access/admin-visible.vue b/apps/web-antd/src/views/demos/access/admin-visible.vue index 526efac1..d32ac197 100644 --- a/apps/web-antd/src/views/demos/access/admin-visible.vue +++ b/apps/web-antd/src/views/demos/access/admin-visible.vue @@ -1,7 +1,7 @@