From 0bcc5d19f423f259466986d713127d58ec21b251 Mon Sep 17 00:00:00 2001 From: Crimson Date: Wed, 19 Jun 2024 20:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=83=A8=E5=88=86=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.aardio | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.aardio b/main.aardio index eff4414..30c0b2b 100644 --- a/main.aardio +++ b/main.aardio @@ -387,7 +387,6 @@ var accelerator = win.ui.accelerator({ research_flag = true; searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRangeSearch, selFirstRow, selFirstCol, searchContent, isCellMatching){ - console.dump(firstRow, firstCol, lastRow, lastCol, isRangeSearch, selFirstRow, selFirstCol, searchContent); if(isRangeSearch){// 从一个范围开始搜索 var tempRow = firstRow; var tempCol = firstCol; @@ -398,7 +397,6 @@ searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRange continue; } for i2,v2 in table.eachIndex(data.fields){ - //console.debug("当前搜索行列:", i, i2); if(i2 < firstCol or i2 > lastCol){ continue; } @@ -436,13 +434,11 @@ searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRange research_flag = true; } else {// 从一个点开始搜索 - //console.dump("从一个点开始搜索"); for i,v in table.eachIndex(data){ if(i < firstRow){ continue; } for i2,v2 in table.eachIndex(data.fields){ - //console.debug("当前搜索行列:", i, i2); if(i2 < firstCol){ continue } @@ -467,7 +463,6 @@ searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRange // 搜不到了,重头搜索 if(research_flag){ research_flag = false; - //console.dump("搜不到了,重头搜索"); row, col = searchNextContent(data, 1, 1, 1, 1, isRangeSearch, selFirstRow, selFirstCol, searchContent, isCellMatching); return row, col; }