From cfa6064778897d0c0195ae490f384f5e75a0537c Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 6 Jan 2026 14:33:13 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9B=BD=E9=99=85=E5=8C=96=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 2 +- src/router/index.ts | 5 ++++- src/views/dms/deviceLubeReport/index.vue | 7 +++++++ src/views/ems/report/energyPreview/index.vue | 8 ++++---- 4 files changed, 16 insertions(+), 6 deletions(-) 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 @@ - + + + +
总耗量