fix: Search mode select dropdown + People debug log

This commit is contained in:
2026-06-14 16:42:29 +08:00
parent cad70974b8
commit 8af1f0408d
2 changed files with 7 additions and 16 deletions

View File

@@ -144,6 +144,7 @@ const filteredPeople = computed(() => {
onMounted(async () => {
try {
const result: any = await invoke('get_people', { page: 1, per_page: 1000 })
console.log('get_people result:', result, Array.isArray(result), result?.length)
people.value = Array.isArray(result) ? result : []
} catch (e) {
console.error('Failed to load people:', e)