feat: update options for creating dashboard

This commit is contained in:
Qiuxia Fan
2021-12-27 11:21:24 +08:00
parent 0840316b2b
commit d387bcf1a6
2 changed files with 6 additions and 131 deletions

View File

@@ -48,29 +48,9 @@ export const routesDashboard: Array<RouteRecordRaw> = [
},
},
{
path: "/dashboard/edit/service/:serviceId",
path: "/dashboard/edit/:layerId/:entityId/:dashboardId",
component: () => import("@/views/dashboard/Edit.vue"),
name: "serviceEdit",
meta: {
title: "dashboardEdit",
exact: false,
notShow: true,
},
},
{
path: "/dashboard/edit/endpoint/:serviceId/:endpointId",
component: () => import("@/views/dashboard/Edit.vue"),
name: "endpointEdit",
meta: {
title: "dashboardEdit",
exact: false,
notShow: true,
},
},
{
path: "/dashboard/edit/instance/:serviceId/:instanceId",
component: () => import("@/views/dashboard/Edit.vue"),
name: "instanceEdit",
name: "Edit",
meta: {
title: "dashboardEdit",
exact: false,