mirror of
https://gitee.com/honghuangdc/soybean-admin-element-plus.git
synced 2025-12-30 10:22:25 +00:00
🐛 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:
@@ -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"
|
||||
|
||||
@@ -110,6 +110,7 @@ async function handleAccountLogin(account: Account) {
|
||||
:key="item.key"
|
||||
size="default"
|
||||
type="primary"
|
||||
:disabled="authStore.loginLoading"
|
||||
@click="handleAccountLogin(item)"
|
||||
>
|
||||
{{ item.label }}
|
||||
|
||||
Reference in New Issue
Block a user