更新 维护流程常用工具.js
This commit is contained in:
		
							parent
							
								
									f7d89bc6f2
								
							
						
					
					
						commit
						cba1c45c33
					
				| @ -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); | ||||
|                     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user