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) {