diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index a95b30d..04a2627 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -23,7 +23,7 @@ - +
diff --git a/src/router/index.ts b/src/router/index.ts index 60733d1..97fb91d 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,6 +1,9 @@ import { createWebHistory, createRouter, RouteRecordRaw } from 'vue-router'; /* Layout */ import Layout from '@/layout/index.vue'; +import i18n from '@/lang/index'; + + /** * Note: 路由配置项 @@ -126,7 +129,7 @@ export const constantRoutes: RouteRecordRaw[] = [ path: '/index', component: () => import('@/views/index.vue'), name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } + meta: { title: i18n.global.t('navbar.dashboard'), icon: 'dashboard', affix: true } } ] }, diff --git a/src/views/dms/deviceLubeReport/index.vue b/src/views/dms/deviceLubeReport/index.vue index e69de29..ae2cf42 100644 --- a/src/views/dms/deviceLubeReport/index.vue +++ b/src/views/dms/deviceLubeReport/index.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/views/ems/report/energyPreview/index.vue b/src/views/ems/report/energyPreview/index.vue index 8b8582d..958bcc7 100644 --- a/src/views/ems/report/energyPreview/index.vue +++ b/src/views/ems/report/energyPreview/index.vue @@ -71,10 +71,10 @@ - + + + +
总耗量