Revert "fix(projects): fix multiple calls to the login API when clicking quickly. fixed #697 (#698)"
This reverts commit 86da767e24
.
This commit is contained in:
parent
132e101243
commit
15163d7011
@ -107,13 +107,7 @@ async function handleAccountLogin(account: Account) {
|
|||||||
</div>
|
</div>
|
||||||
<NDivider class="text-14px text-#666 !m-0">{{ $t('page.login.pwdLogin.otherAccountLogin') }}</NDivider>
|
<NDivider class="text-14px text-#666 !m-0">{{ $t('page.login.pwdLogin.otherAccountLogin') }}</NDivider>
|
||||||
<div class="flex-center gap-12px">
|
<div class="flex-center gap-12px">
|
||||||
<NButton
|
<NButton v-for="item in accounts" :key="item.key" type="primary" @click="handleAccountLogin(item)">
|
||||||
v-for="item in accounts"
|
|
||||||
:key="item.key"
|
|
||||||
:loading="authStore.loginLoading"
|
|
||||||
type="primary"
|
|
||||||
@click="handleAccountLogin(item)"
|
|
||||||
>
|
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</NButton>
|
</NButton>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user