mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: cast setTimeout callback to any for type safety
This commit is contained in:
parent
15c4274294
commit
5c0dfa8c96
|
|
@ -190,7 +190,7 @@ const startStreamingOutput = () => {
|
|||
} else if (loading.value === false && currentDisplayIndex.value >= fullContent.value.length) {
|
||||
stopStreaming()
|
||||
}
|
||||
}, 50) // 每50ms输出一次
|
||||
}, 50) as any
|
||||
}
|
||||
|
||||
// 停止流式输出
|
||||
|
|
|
|||
Loading…
Reference in New Issue