mirror of
https://github.com/Wx-2025/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 15:05:51 +00:00
Update batch-filler.js
This commit is contained in:
@@ -272,7 +272,8 @@ async function runBatchAttempt(batchNum, attemptNum) {
|
|||||||
throw new Error('API返回内容为空。');
|
throw new Error('API返回内容为空。');
|
||||||
}
|
}
|
||||||
|
|
||||||
updateTableFromText(resultText);
|
// 【V155.0】批量填表时,启用立即删除模式,避免红色待删除行残留
|
||||||
|
updateTableFromText(resultText, { immediateDelete: true });
|
||||||
renderTables();
|
renderTables();
|
||||||
log(`批次 ${batchNum} 处理成功。`, 'success');
|
log(`批次 ${batchNum} 处理成功。`, 'success');
|
||||||
|
|
||||||
@@ -483,7 +484,7 @@ export async function startFloorRangeFilling(startFloor, endFloor) {
|
|||||||
throw new Error('API返回内容为空。');
|
throw new Error('API返回内容为空。');
|
||||||
}
|
}
|
||||||
|
|
||||||
updateTableFromText(resultText);
|
updateTableFromText(resultText, { immediateDelete: true });
|
||||||
renderTables();
|
renderTables();
|
||||||
|
|
||||||
toastr.success(`楼层 ${startFloor}-${endFloor} 填表完成!`);
|
toastr.success(`楼层 ${startFloor}-${endFloor} 填表完成!`);
|
||||||
|
|||||||
Reference in New Issue
Block a user