2
0

fix:隐藏忘记密码

This commit is contained in:
zhongzm
2025-01-17 16:14:24 +08:00
parent 5bfb858f06
commit ebd243040f

View File

@@ -7,6 +7,7 @@ import { useAuthStore } from '@/store/modules/auth';
import { useI18n } from "vue-i18n";
import { sessionStg } from '@/utils/storage';
import { getQueryParams } from "@/utils/common";
import { doGetCheckCode } from '@/service/api/auth';
// Add interface for check code response
interface CheckCodeResponse {
@@ -25,6 +26,7 @@ interface LoginForm {
wanfiRedirectParams: Record<string, any>;
}
defineOptions({
name: 'PwdLogin'
});
@@ -117,7 +119,7 @@ async function getCheckCode() {
<ASpace direction="vertical" size="large" class="w-full">
<div class="flex-y-center justify-between">
<ACheckbox>{{ $t('page.login.pwdLogin.rememberMe') }}</ACheckbox>
<AButton type="text" @click="toggleLoginModule('reset-pwd')">{{ t('page.login.pwdLogin.forgetPassword') }}</AButton>
<!-- <AButton type="text" @click="toggleLoginModule('reset-pwd')">{{ t('page.login.pwdLogin.forgetPassword') }}</AButton>-->
</div>
<AButton type="primary" block size="large" shape="round" :loading="authStore.loginLoading" @click="handleSubmit">
{{ $t('common.confirm') }}