From a3a6aeb40e12572ee38865bc16bd560256620c0c Mon Sep 17 00:00:00 2001 From: zhongzm Date: Fri, 29 Nov 2024 09:02:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=99=BB=E5=BD=95=E6=A1=86=E6=9E=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/_builtin/login/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/_builtin/login/index.vue b/src/views/_builtin/login/index.vue index 8aadd98..3db6abb 100644 --- a/src/views/_builtin/login/index.vue +++ b/src/views/_builtin/login/index.vue @@ -11,14 +11,14 @@ import ResetPwd from './modules/reset-pwd.vue'; import BindWechat from './modules/bind-wechat.vue'; import { WifiOutlined } from '@ant-design/icons-vue'; import {useI18n} from "vue-i18n"; - +//import { $t } from '@/locales'; interface Props { /** The login module */ module?: UnionKey.LoginModule; } const props = defineProps(); -const { t } = useI18n(); +const {t} = useI18n(); const themeStore = useThemeStore(); interface LoginModule { @@ -55,11 +55,11 @@ const bgColor = computed(() => {
- -

{{ "WANFi" }}

+ +

{{ t(activeModule.label) }}

-

{{ t('activeModule.label') }}

+

{{ "WANFi" }}