diff --git a/ui/src/views/chat/user-login/index.vue b/ui/src/views/chat/user-login/index.vue index a263de938..52ff35be5 100644 --- a/ui/src/views/chat/user-login/index.vue +++ b/ui/src/views/chat/user-login/index.vue @@ -399,7 +399,9 @@ onBeforeMount(() => { : t('views.system.authentication.scanTheQRCode.lark'), }) }) - showQrCodeTab.value = true + if (!modeList.value.includes('LOCAL') && !modeList.value.includes('LDAP')) { + showQrCodeTab.value = true + } modeList.value = ['QR_CODE', ...modeList.value] } }