From 5c0dfa8c96d887940440d448987ccb0480a15b78 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 19 Sep 2025 10:47:09 +0800 Subject: [PATCH] fix: cast setTimeout callback to any for type safety --- ui/src/views/application/component/GeneratePromptDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/application/component/GeneratePromptDialog.vue b/ui/src/views/application/component/GeneratePromptDialog.vue index 80d1f4962..ede452ce9 100644 --- a/ui/src/views/application/component/GeneratePromptDialog.vue +++ b/ui/src/views/application/component/GeneratePromptDialog.vue @@ -190,7 +190,7 @@ const startStreamingOutput = () => { } else if (loading.value === false && currentDisplayIndex.value >= fullContent.value.length) { stopStreaming() } - }, 50) // 每50ms输出一次 + }, 50) as any } // 停止流式输出