From cba1c45c3311503ab4a35306b524002233cd4752 Mon Sep 17 00:00:00 2001 From: ForeverSmiYng Date: Thu, 27 Mar 2025 23:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=B8=B8=E7=94=A8=E5=B7=A5=E5=85=B7.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 维护流程常用工具.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/维护流程常用工具.js b/维护流程常用工具.js index e4bc450..9d0561a 100644 --- a/维护流程常用工具.js +++ b/维护流程常用工具.js @@ -10,7 +10,7 @@ mainFieldComparator(newFieldIds, oldFieldIds); function mainFieldComparator(newFieldIds, oldFieldIds) { newFieldIds.forEach((id, index) => { let var1 = setInterval(() => { - if ($(`${id}_swapDiv`).length > 0) { + if ($(`.${id}_swapDiv`).length > 0) { clearInterval(var1); fn1(index); } @@ -42,7 +42,7 @@ function detailFieldComparator(newDetFieldIds, oldDetFieldIds, detnum) { detRows.forEach(rowIndex => { newDetFieldIds.forEach((id, index) => { let var1 = setInterval(() => { - if ($(`${id}_${rowIndex}_swapDiv`).length > 0) { + if ($(`.${id}_${rowIndex}_swapDiv`).length > 0) { clearInterval(var1); fn1(index, rowIndex); }