From 6dfda4807c19896e54e8c0b15652955da30c4a91 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 5 Jun 2026 00:26:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AE=80=E5=8C=96=20showPasskeyLogin=20?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=B1=9E=E6=80=A7=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=8D=A1=E7=89=87=E5=86=85=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pages/login.vue b/src/pages/login.vue index 9244e304..d488c443 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -119,9 +119,7 @@ const systemPasskeyProvider = computed(() => const pluginAuthProviders = computed(() => authProviders.value.filter(provider => provider.type === 'plugin' && provider.remote && provider.enabled !== false), ) -const showPasskeyLogin = computed( - () => !!systemPasskeyProvider.value?.enabled, -) +const showPasskeyLogin = computed(() => !!systemPasskeyProvider.value?.enabled) // 生成 MFA 共享弹窗使用的最新 props。 function getMfaDialogProps() { @@ -678,7 +676,7 @@ onUnmounted(() => {