fix:隐藏忘记密码
This commit is contained in:
@@ -7,6 +7,7 @@ import { useAuthStore } from '@/store/modules/auth';
|
|||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { sessionStg } from '@/utils/storage';
|
import { sessionStg } from '@/utils/storage';
|
||||||
import { getQueryParams } from "@/utils/common";
|
import { getQueryParams } from "@/utils/common";
|
||||||
|
import { doGetCheckCode } from '@/service/api/auth';
|
||||||
|
|
||||||
// Add interface for check code response
|
// Add interface for check code response
|
||||||
interface CheckCodeResponse {
|
interface CheckCodeResponse {
|
||||||
@@ -25,6 +26,7 @@ interface LoginForm {
|
|||||||
wanfiRedirectParams: Record<string, any>;
|
wanfiRedirectParams: Record<string, any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
name: 'PwdLogin'
|
name: 'PwdLogin'
|
||||||
});
|
});
|
||||||
@@ -117,7 +119,7 @@ async function getCheckCode() {
|
|||||||
<ASpace direction="vertical" size="large" class="w-full">
|
<ASpace direction="vertical" size="large" class="w-full">
|
||||||
<div class="flex-y-center justify-between">
|
<div class="flex-y-center justify-between">
|
||||||
<ACheckbox>{{ $t('page.login.pwdLogin.rememberMe') }}</ACheckbox>
|
<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>
|
</div>
|
||||||
<AButton type="primary" block size="large" shape="round" :loading="authStore.loginLoading" @click="handleSubmit">
|
<AButton type="primary" block size="large" shape="round" :loading="authStore.loginLoading" @click="handleSubmit">
|
||||||
{{ $t('common.confirm') }}
|
{{ $t('common.confirm') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user