mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
feat: add title
This commit is contained in:
parent
52ee7c6f45
commit
e9938fcdbe
@ -44,7 +44,7 @@ limitations under the License. -->
|
||||
<el-menu-item v-for="(m, idx) in filterMenus(menu.children)" :index="m.name" :key="idx">
|
||||
<router-link class="items" :to="m.path">
|
||||
<span class="title">
|
||||
{{ m.meta && (te(menu.meta.i18nKey) ? t(menu.meta.i18nKey) : menu.meta.title) }}
|
||||
{{ m.meta && (te(m.meta.i18nKey) ? t(m.meta.i18nKey) : m.meta.title) }}
|
||||
</span>
|
||||
</router-link>
|
||||
</el-menu-item>
|
||||
|
@ -26,6 +26,7 @@ export const routesAlarm: Array<RouteRecordRaw> = [
|
||||
icon: "spam",
|
||||
hasGroup: false,
|
||||
activate: true,
|
||||
title: "Alerting",
|
||||
},
|
||||
component: Layout,
|
||||
children: [
|
||||
|
@ -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",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -26,6 +26,7 @@ export const routesMarketplace: Array<RouteRecordRaw> = [
|
||||
icon: "marketplace",
|
||||
hasGroup: false,
|
||||
activate: true,
|
||||
title: "Marketplace",
|
||||
},
|
||||
component: Layout,
|
||||
children: [
|
||||
|
@ -26,6 +26,7 @@ export const routesSettings: Array<RouteRecordRaw> = [
|
||||
icon: "settings",
|
||||
hasGroup: false,
|
||||
activate: true,
|
||||
title: "Settings",
|
||||
},
|
||||
component: Layout,
|
||||
children: [
|
||||
|
Loading…
Reference in New Issue
Block a user