过程数据文件写入更改
This commit is contained in:
parent
5ae19b4f71
commit
1671d57221
@ -91,12 +91,11 @@ async function InitExam(dirName: string) {
|
|||||||
|
|
||||||
// 写过程数据
|
// 写过程数据
|
||||||
async function WriteProcessData(type: ProcessDataEnumType, data: string) {
|
async function WriteProcessData(type: ProcessDataEnumType, data: string) {
|
||||||
let result: LogWorkerMessage = JSON.parse(data)
|
// if (type === ProcessDataEnumType.WuxiExam) {
|
||||||
if (type === ProcessDataEnumType.WuxiExam) {
|
// writeQueue.push({ type, data });
|
||||||
writeQueue.push({ type, data: result.data });
|
// } else {
|
||||||
} else {
|
writeQueue.push({ type, data });
|
||||||
writeQueue.push({ type, data });
|
// }
|
||||||
}
|
|
||||||
if (!isProcessing) {
|
if (!isProcessing) {
|
||||||
processQueue();
|
processQueue();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user