fix: cast setTimeout callback to any for type safety
parent
15c4274294
commit
5c0dfa8c96
|
|
@ -190,7 +190,7 @@ const startStreamingOutput = () => {
|
||||||
} else if (loading.value === false && currentDisplayIndex.value >= fullContent.value.length) {
|
} else if (loading.value === false && currentDisplayIndex.value >= fullContent.value.length) {
|
||||||
stopStreaming()
|
stopStreaming()
|
||||||
}
|
}
|
||||||
}, 50) // 每50ms输出一次
|
}, 50) as any
|
||||||
}
|
}
|
||||||
|
|
||||||
// 停止流式输出
|
// 停止流式输出
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue