更新 维护流程常用工具.js

This commit is contained in:
ForeverSmiYng 2025-03-27 23:06:07 +08:00
parent f7d89bc6f2
commit cba1c45c33

View File

@ -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);
}