feat: Implement visualizing alarm (#23)

This commit is contained in:
Fine0830
2022-03-09 12:32:54 +08:00
committed by GitHub
parent b9d0b58373
commit 2a40545f93
19 changed files with 734 additions and 11 deletions

View File

@@ -33,10 +33,9 @@ export const routesAlarm: Array<RouteRecordRaw> = [
path: "/alarm",
name: "Alarm",
meta: {
title: "alarmList",
exact: false,
},
component: () => import("@/views/Log.vue"),
component: () => import("@/views/Alarm.vue"),
},
],
},

View File

@@ -21,7 +21,6 @@ import { routesMesh } from "./serviceMesh";
import { routesDatabase } from "./database";
import { routesInfra } from "./infrastructure";
import { routesDashboard } from "./dashboard";
// import { routesLog } from "./log";
import { routesEvent } from "./event";
import { routesSetting } from "./setting";
import { routesAlarm } from "./alarm";
@@ -32,9 +31,9 @@ const routes: Array<RouteRecordRaw> = [
...routesDatabase,
...routesInfra,
...routesDashboard,
...routesAlarm,
...routesEvent,
...routesSetting,
...routesAlarm,
];
const router = createRouter({