🐛 fix tow bugs in login page (#55)

* fix(projects): 🐛 hidden multi-language button in login page.

* fix(projects): 🐛 fix multiple calls to the login API when clicking quickly
This commit is contained in:
一寸灰
2025-02-12 15:24:40 +08:00
committed by GitHub
parent 6f3855ece6
commit 9927d752bd
2 changed files with 2 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ const bgColor = computed(() => {
@switch="themeStore.toggleThemeScheme"
/>
<LangSwitch
v-if="themeStore.header.multilingual.visible"
:lang="appStore.locale"
:lang-options="appStore.localeOptions"
:show-tooltip="false"

View File

@@ -110,6 +110,7 @@ async function handleAccountLogin(account: Account) {
:key="item.key"
size="default"
type="primary"
:disabled="authStore.loginLoading"
@click="handleAccountLogin(item)"
>
{{ item.label }}