mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +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">
|
<el-menu-item v-for="(m, idx) in filterMenus(menu.children)" :index="m.name" :key="idx">
|
||||||
<router-link class="items" :to="m.path">
|
<router-link class="items" :to="m.path">
|
||||||
<span class="title">
|
<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>
|
</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
@ -26,6 +26,7 @@ export const routesAlarm: Array<RouteRecordRaw> = [
|
|||||||
icon: "spam",
|
icon: "spam",
|
||||||
hasGroup: false,
|
hasGroup: false,
|
||||||
activate: true,
|
activate: true,
|
||||||
|
title: "Alerting",
|
||||||
},
|
},
|
||||||
component: Layout,
|
component: Layout,
|
||||||
children: [
|
children: [
|
||||||
|
@ -27,6 +27,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
|
|||||||
icon: "dashboard_customize",
|
icon: "dashboard_customize",
|
||||||
hasGroup: true,
|
hasGroup: true,
|
||||||
activate: true,
|
activate: true,
|
||||||
|
title: "Dashboards",
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@ -36,6 +37,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
|
|||||||
meta: {
|
meta: {
|
||||||
i18nKey: "dashboardList",
|
i18nKey: "dashboardList",
|
||||||
activate: true,
|
activate: true,
|
||||||
|
title: "Dashboard List",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -45,6 +47,7 @@ export const routesDashboard: Array<RouteRecordRaw> = [
|
|||||||
meta: {
|
meta: {
|
||||||
i18nKey: "dashboardNew",
|
i18nKey: "dashboardNew",
|
||||||
activate: true,
|
activate: true,
|
||||||
|
title: "New Dashboard",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,7 @@ export const routesMarketplace: Array<RouteRecordRaw> = [
|
|||||||
icon: "marketplace",
|
icon: "marketplace",
|
||||||
hasGroup: false,
|
hasGroup: false,
|
||||||
activate: true,
|
activate: true,
|
||||||
|
title: "Marketplace",
|
||||||
},
|
},
|
||||||
component: Layout,
|
component: Layout,
|
||||||
children: [
|
children: [
|
||||||
|
@ -26,6 +26,7 @@ export const routesSettings: Array<RouteRecordRaw> = [
|
|||||||
icon: "settings",
|
icon: "settings",
|
||||||
hasGroup: false,
|
hasGroup: false,
|
||||||
activate: true,
|
activate: true,
|
||||||
|
title: "Settings",
|
||||||
},
|
},
|
||||||
component: Layout,
|
component: Layout,
|
||||||
children: [
|
children: [
|
||||||
|
Loading…
Reference in New Issue
Block a user