From 1a835a2e1f1b94cb6981bc68f4ca0a0406d4bbc3 Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Tue, 6 Jan 2026 10:37:54 +0800 Subject: [PATCH] Update batch-filler.js --- core/table-system/batch-filler.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/table-system/batch-filler.js b/core/table-system/batch-filler.js index e363ed2..5e890a3 100644 --- a/core/table-system/batch-filler.js +++ b/core/table-system/batch-filler.js @@ -272,7 +272,8 @@ async function runBatchAttempt(batchNum, attemptNum) { throw new Error('API返回内容为空。'); } - updateTableFromText(resultText); + // 【V155.0】批量填表时,启用立即删除模式,避免红色待删除行残留 + updateTableFromText(resultText, { immediateDelete: true }); renderTables(); log(`批次 ${batchNum} 处理成功。`, 'success'); @@ -483,7 +484,7 @@ export async function startFloorRangeFilling(startFloor, endFloor) { throw new Error('API返回内容为空。'); } - updateTableFromText(resultText); + updateTableFromText(resultText, { immediateDelete: true }); renderTables(); toastr.success(`楼层 ${startFloor}-${endFloor} 填表完成!`);