mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 18:10:30 +08:00
feat(web): add M7 device list and detail pages
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -116,6 +116,18 @@ const routes = [
|
||||
component: () => import("../views/LicenseList.vue"),
|
||||
meta: { roles: ["SYS_ADMIN", "DEVELOPER"], title: "许可证管理" },
|
||||
},
|
||||
{
|
||||
path: "devices/:id",
|
||||
name: "device-detail",
|
||||
component: () => import("../views/DeviceDetailView.vue"),
|
||||
meta: { roles: ["SYS_ADMIN", "DEVELOPER", "OPS"], title: "设备详情" },
|
||||
},
|
||||
{
|
||||
path: "devices",
|
||||
name: "devices",
|
||||
component: () => import("../views/DeviceListView.vue"),
|
||||
meta: { roles: ["SYS_ADMIN", "DEVELOPER", "OPS"], title: "设备管理" },
|
||||
},
|
||||
],
|
||||
},
|
||||
{ path: "/403", name: "forbidden", component: () => import("../views/ForbiddenView.vue") },
|
||||
|
||||
Reference in New Issue
Block a user