diff --git a/frontend/src/components/business/ms-menu/index.vue b/frontend/src/components/business/ms-menu/index.vue index b61ebf7842..212a10ee33 100644 --- a/frontend/src/components/business/ms-menu/index.vue +++ b/frontend/src/components/business/ms-menu/index.vue @@ -134,7 +134,9 @@ const menuSwitchOrgVisible = ref(false); const orgKeyword = ref(''); const originOrgList = ref<{ id: string; name: string }[]>([]); - const orgList = computed(() => originOrgList.value.filter((e) => e.name.includes(orgKeyword.value))); + const orgList = computed(() => + originOrgList.value.filter((e) => e.name.toLowerCase().includes(orgKeyword.value.toLowerCase())) + ); async function switchOrg(id: string) { try { @@ -291,7 +293,7 @@ }} > - {item.name} + {item.name} {item.id === appStore.currentOrgId ? ( {{ props.emptyText }} @@ -74,7 +74,7 @@