From f4d16a4c01828a08b9dbc2f04510142ad8ef0793 Mon Sep 17 00:00:00 2001 From: liumangmang Date: Tue, 2 Jun 2026 10:07:32 +0800 Subject: [PATCH] fix(frontend): include cookie_count and cookie_names in AuthCaptureDialog emit --- frontend/src/components/AuthCaptureDialog.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/AuthCaptureDialog.vue b/frontend/src/components/AuthCaptureDialog.vue index 15a5b66..b77f4d6 100644 --- a/frontend/src/components/AuthCaptureDialog.vue +++ b/frontend/src/components/AuthCaptureDialog.vue @@ -152,7 +152,7 @@ const props = defineProps<{ const emit = defineEmits<{ (e: 'update:modelValue', v: boolean): void - (e: 'select', candidate: { type: string; value: string; source: string; cookie_name?: string; cookie_value?: string; new_api_user?: string }): void + (e: 'select', candidate: { type: string; value: string; source: string; cookie_name?: string; cookie_value?: string; cookie_count?: number; cookie_names?: string[]; new_api_user?: string }): void }>() function candidatePreview(candidate: AuthCaptureCandidate): string { @@ -459,6 +459,8 @@ async function confirmSelection() { source: fullCandidate.source, cookie_name: fullCandidate.cookie_name, cookie_value: fullCandidate.cookie_value, + cookie_count: fullCandidate.cookie_count, + cookie_names: fullCandidate.cookie_names, new_api_user: resolveNewApiUser(rawResult.data, fullCandidate), }) closeDialog()