mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 00:37:33 +00:00
fix
This commit is contained in:
parent
e50d283dce
commit
a187ed61f9
@ -31,9 +31,6 @@ export const routesAlarm: Array<RouteRecordRaw> = [
|
|||||||
{
|
{
|
||||||
path: "/alerting",
|
path: "/alerting",
|
||||||
name: "Alarm",
|
name: "Alarm",
|
||||||
meta: {
|
|
||||||
exact: false,
|
|
||||||
},
|
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "alerting" */ "@/views/Alarm.vue"),
|
import(/* webpackChunkName: "alerting" */ "@/views/Alarm.vue"),
|
||||||
},
|
},
|
||||||
|
@ -20,7 +20,7 @@ import Layout from "@/layout/Index.vue";
|
|||||||
function layerDashboards() {
|
function layerDashboards() {
|
||||||
const routes = LayerJson.map((item: any) => {
|
const routes = LayerJson.map((item: any) => {
|
||||||
item.component = Layout;
|
item.component = Layout;
|
||||||
if (item.meta.hasGroup) {
|
if (item.children) {
|
||||||
item.children = item.children.map((d: any) => {
|
item.children = item.children.map((d: any) => {
|
||||||
d.component = () =>
|
d.component = () =>
|
||||||
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue");
|
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue");
|
||||||
|
Loading…
Reference in New Issue
Block a user