fix: 合并log

This commit is contained in:
wangzhongjie 2025-10-15 17:18:51 +08:00
commit 09096d8d6c

View File

@ -91,12 +91,11 @@ async function InitExam(dirName: string) {
// 写过程数据
async function WriteProcessData(type: ProcessDataEnumType, data: string) {
let result: LogWorkerMessage = JSON.parse(data)
if (type === ProcessDataEnumType.WuxiExam) {
writeQueue.push({ type, data: result.data || "" });
} else {
writeQueue.push({ type, data });
}
// if (type === ProcessDataEnumType.WuxiExam) {
// writeQueue.push({ type, data });
// } else {
writeQueue.push({ type, data });
// }
if (!isProcessing) {
processQueue();
}