fix: typos

This commit is contained in:
likui628
2024-07-14 13:48:47 +08:00
parent 3a7b5c2965
commit 91e769e53e
7 changed files with 17 additions and 17 deletions

View File

@@ -42,7 +42,7 @@ const emailStatus = computed(() => {
return formState.submitted && !formState.email ? 'error' : 'default';
});
function handleSubmut() {
function handleSubmit() {
formState.submitted = true;
if (emailStatus.value !== 'default') {
return;
@@ -76,7 +76,7 @@ function goToLogin() {
/>
</div>
<div>
<VbenButton class="mt-2 w-full" @click="handleSubmut">
<VbenButton class="mt-2 w-full" @click="handleSubmit">
{{ $t('authentication.sendResetLink') }}
</VbenButton>
<VbenButton class="mt-4 w-full" variant="outline" @click="goToLogin()">