From 4688634205d22b4ca5d718e53cb0b0876082f389 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 8 Nov 2023 16:50:39 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=8E=A7=E5=88=B6=E5=8F=B0=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/App.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.production b/.env.production index 63b07183..7b1b3ea5 100644 --- a/.env.production +++ b/.env.production @@ -11,7 +11,7 @@ VITE_APP_NAME = "核心网管理平台" VITE_APP_CODE = "CoreNet" # 应用版本 -VITE_APP_VERSION = "2.231107.7" +VITE_APP_VERSION = "2.231108.7" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/src/App.vue b/src/App.vue index d0f6f93a..a35b7e1f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,7 @@ import 'dayjs/locale/zh-cn'; import { ref, watch } from 'vue'; import useAppStore from '@/store/modules/app'; import useI18n from '@/hooks/useI18n'; -const { currentLocale } = useI18n(); +const { t, currentLocale } = useI18n(); const appStore = useAppStore(); dayjs.locale('zh-cn'); // 默认中文 @@ -38,7 +38,7 @@ watch(currentLocale, val => { // 输出应用版本号 console.info( - `%c ${appStore.appName} %c ${appStore.appCode} - ${appStore.appVersion} `, + `%c ${t('common.title')} %c ${appStore.appCode} - ${appStore.appVersion} `, 'color: #fadfa3; background: #030307; padding: 4px 0;', 'color: #030307; background: #fadfa3; padding: 4px 0;' );