feat: use title instead of i18nKey for menus. (#303)

This commit is contained in:
Fine0830
2023-07-22 14:06:31 +08:00
committed by GitHub
parent 3bdd1d1c67
commit 169793bdff
5 changed files with 14 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ export const routesAlarm: Array<RouteRecordRaw> = [
icon: "spam",
hasGroup: false,
activate: true,
title: "Alerting",
},
component: Layout,
children: [

View File

@@ -27,6 +27,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
icon: "dashboard_customize",
hasGroup: true,
activate: true,
title: "Dashboards",
},
children: [
{
@@ -36,6 +37,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
meta: {
i18nKey: "dashboardList",
activate: true,
title: "Dashboard List",
},
},
{
@@ -45,6 +47,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
meta: {
i18nKey: "dashboardNew",
activate: true,
title: "New Dashboard",
},
},
{

View File

@@ -26,6 +26,7 @@ export const routesMarketplace: Array<RouteRecordRaw> = [
icon: "marketplace",
hasGroup: false,
activate: true,
title: "Marketplace",
},
component: Layout,
children: [

View File

@@ -26,6 +26,7 @@ export const routesSettings: Array<RouteRecordRaw> = [
icon: "settings",
hasGroup: false,
activate: true,
title: "Settings",
},
component: Layout,
children: [