Skip to content

Commit 5c0dfa8

Browse files
committed
fix: cast setTimeout callback to any for type safety
1 parent 15c4274 commit 5c0dfa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/application/component/GeneratePromptDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const startStreamingOutput = () => {
190190
} else if (loading.value === false && currentDisplayIndex.value >= fullContent.value.length) {
191191
stopStreaming()
192192
}
193-
}, 50) // 每50ms输出一次
193+
}, 50) as any
194194
}
195195
196196
// 停止流式输出

0 commit comments

Comments
 (0)