diff --git a/Web/src/views/login/component/account.vue b/Web/src/views/login/component/account.vue index d1375666..2921250e 100644 --- a/Web/src/views/login/component/account.vue +++ b/Web/src/views/login/component/account.vue @@ -333,6 +333,9 @@ const handleSignIn = () => { // window.open('http://localhost:5005/api/sysoauth/signin?provider=Gitee&redirectUrl=http://localhost:8888'); // }; +//验证码过期显示文本 +const captchaExpired = computed(() => `"${t('message.account.captchaExpired')}"`); + // 导出对象 defineExpose({ saveTokenAndInitRoutes }); @@ -407,7 +410,7 @@ defineExpose({ saveTokenAndInitRoutes }); @extend .login-content-code; &::before { - content: t('message.account.captchaExpired'); + content: v-bind(captchaExpired); position: absolute; top: 0; left: 0;