Skip to content

Commit 15163d7

Browse files
committed
Revert "fix(projects): fix multiple calls to the login API when clicking quickly. fixed #697 (#698)"
This reverts commit 86da767.
1 parent 132e101 commit 15163d7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/views/_builtin/login/modules/pwd-login.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,7 @@ async function handleAccountLogin(account: Account) {
107107
</div>
108108
<NDivider class="text-14px text-#666 !m-0">{{ $t('page.login.pwdLogin.otherAccountLogin') }}</NDivider>
109109
<div class="flex-center gap-12px">
110-
<NButton
111-
v-for="item in accounts"
112-
:key="item.key"
113-
:loading="authStore.loginLoading"
114-
type="primary"
115-
@click="handleAccountLogin(item)"
116-
>
110+
<NButton v-for="item in accounts" :key="item.key" type="primary" @click="handleAccountLogin(item)">
117111
{{ item.label }}
118112
</NButton>
119113
</div>

0 commit comments

Comments
 (0)