mirror of
https://gitee.com/fit2cloud-feizhiyun/MaxKB.git
synced 2025-12-06 11:19:08 +08:00
refactor: update QR code tab visibility logic based on authentication modes
This commit is contained in:
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user