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" }}