mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-10 10:30:30 +08:00
feat(m9): add subscription report config (localStorage MVP)
This commit is contained in:
@@ -136,6 +136,7 @@ const menuItems = [
|
||||
{ path: "/devices", icon: "🖥️", label: "设备管理", roles: ["SYS_ADMIN","SALES","DELIVERY"] },
|
||||
{ path: "/todos", icon: "🔔", label: "待办中心", roles: ["SYS_ADMIN","SALES","LICENSE_OPS"] },
|
||||
{ path: "/reports/contract-sn", icon: "📊", label: "报表中心", roles: ["SYS_ADMIN"] },
|
||||
{ path: "/reports/subscriptions", icon: "📧", label: "报表订阅", roles: ["SYS_ADMIN"] },
|
||||
];
|
||||
|
||||
const visibleMenu = computed(() => menuItems.filter(m => auth.hasAnyRole(m.roles)));
|
||||
|
||||
Reference in New Issue
Block a user