From 527f2e6c7e3f8655bba688384dada0e1681ccb38 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 27 Jan 2026 14:09:55 +0800 Subject: [PATCH] perf: Optimize default login method settings --- frontend/src/views/system/parameter/xpack/PlatformParam.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/system/parameter/xpack/PlatformParam.vue b/frontend/src/views/system/parameter/xpack/PlatformParam.vue index 0b08b2b3..dbf983df 100644 --- a/frontend/src/views/system/parameter/xpack/PlatformParam.vue +++ b/frontend/src/views/system/parameter/xpack/PlatformParam.vue @@ -145,7 +145,7 @@ onMounted(async () => { organizations.value = wsRes const platformStatusRes: any = await queryCategoryStatus() platformStatusRes.forEach((item: any) => { - if (item.enable) { + if (item.enable && platformMapping[item.name]) { loginTypeOptions.value.push(platformMapping[item.name]) anyPlatformEnable.value = true }