From 424d4c4e112f38a8fddbd290b9e292ca330459de Mon Sep 17 00:00:00 2001 From: xiaji Date: Tue, 16 Jun 2026 09:18:30 +0800 Subject: [PATCH] =?UTF-8?q?debug(feed):=20trace=20=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E6=9D=A1=E8=A2=AB=E6=B8=85=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/Feed.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/views/Feed.vue b/frontend/src/views/Feed.vue index 61e23ba..2986614 100644 --- a/frontend/src/views/Feed.vue +++ b/frontend/src/views/Feed.vue @@ -57,12 +57,16 @@ function clearPromptsForArticle(articleId: number) { const next = new Map(categoryPromptsByArticle.value) next.delete(articleId) categoryPromptsByArticle.value = next + // eslint-disable-next-line no-console + console.log('[clearPromptsForArticle] called for', articleId, 'stack:', new Error().stack?.split('\n').slice(1, 4).join(' | ')) } } // 全清 function clearAllPrompts() { if (categoryPromptsByArticle.value.size > 0) { + // eslint-disable-next-line no-console + console.log('[clearAllPrompts] called, stack:', new Error().stack?.split('\n').slice(1, 4).join(' | ')) categoryPromptsByArticle.value = new Map() } if (categoryPromptTimer !== null) {