|
|
@ -1762,30 +1762,32 @@ function getNextIndex(direction, focusIndex, strIndex, endIndex) { |
|
|
|
let stValue = Store.flowdata[strIndex][focusIndex]; |
|
|
|
|
|
|
|
if(getObjType(stValue) == "object" && isRealNull(stValue.v)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else if(isRealNull(stValue)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else{ |
|
|
|
stNull = true; |
|
|
|
stNull = false; |
|
|
|
} |
|
|
|
|
|
|
|
console.log(stNull, "stNull"); |
|
|
|
|
|
|
|
let cellNull = [], i = 0; |
|
|
|
for(let r = strIndex + 1; r <= endIndex; r++){ |
|
|
|
let cell = Store.flowdata[r][focusIndex]; |
|
|
|
|
|
|
|
if(getObjType(cell) == "object" && isRealNull(cell.v)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else if(isRealNull(cell)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else{ |
|
|
|
cellNull.push(true); |
|
|
|
cellNull.push(false); |
|
|
|
} |
|
|
|
|
|
|
|
if(cellNull.length == 1 && stNull && cellNull[i] == false){ |
|
|
|
if(cellNull.length == 1 && stNull==true && cellNull[i] == false){ |
|
|
|
index = strIndex + i + 1; |
|
|
|
break; |
|
|
|
} |
|
|
@ -1817,13 +1819,13 @@ function getNextIndex(direction, focusIndex, strIndex, endIndex) { |
|
|
|
let stValue = Store.flowdata[endIndex][focusIndex]; |
|
|
|
|
|
|
|
if(getObjType(stValue) == "object" && isRealNull(stValue.v)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else if(isRealNull(stValue)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else{ |
|
|
|
stNull = true; |
|
|
|
stNull = false; |
|
|
|
} |
|
|
|
|
|
|
|
let cellNull = [], i = 0; |
|
|
@ -1831,13 +1833,13 @@ function getNextIndex(direction, focusIndex, strIndex, endIndex) { |
|
|
|
let cell = Store.flowdata[r][focusIndex]; |
|
|
|
|
|
|
|
if(getObjType(cell) == "object" && isRealNull(cell.v)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else if(isRealNull(cell)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else{ |
|
|
|
cellNull.push(true); |
|
|
|
cellNull.push(false); |
|
|
|
} |
|
|
|
|
|
|
|
if(cellNull.length == 1 && stNull && cellNull[i] == false){ |
|
|
@ -1872,13 +1874,13 @@ function getNextIndex(direction, focusIndex, strIndex, endIndex) { |
|
|
|
let stValue = Store.flowdata[focusIndex][strIndex]; |
|
|
|
|
|
|
|
if(getObjType(stValue) == "object" && isRealNull(stValue.v)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else if(isRealNull(stValue)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else{ |
|
|
|
stNull = true; |
|
|
|
stNull = false; |
|
|
|
} |
|
|
|
|
|
|
|
let cellNull = [], i = 0; |
|
|
@ -1886,13 +1888,13 @@ function getNextIndex(direction, focusIndex, strIndex, endIndex) { |
|
|
|
let cell = Store.flowdata[focusIndex][c]; |
|
|
|
|
|
|
|
if(getObjType(cell) == "object" && isRealNull(cell.v)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else if(isRealNull(cell)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else{ |
|
|
|
cellNull.push(true); |
|
|
|
cellNull.push(false); |
|
|
|
} |
|
|
|
|
|
|
|
if(cellNull.length == 1 && stNull && cellNull[i] == false){ |
|
|
@ -1927,13 +1929,13 @@ function getNextIndex(direction, focusIndex, strIndex, endIndex) { |
|
|
|
let stValue = Store.flowdata[focusIndex][endIndex]; |
|
|
|
|
|
|
|
if(getObjType(stValue) == "object" && isRealNull(stValue.v)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else if(isRealNull(stValue)){ |
|
|
|
stNull = false; |
|
|
|
stNull = true; |
|
|
|
} |
|
|
|
else{ |
|
|
|
stNull = true; |
|
|
|
stNull = false; |
|
|
|
} |
|
|
|
|
|
|
|
let cellNull = [], i = 0; |
|
|
@ -1941,13 +1943,13 @@ function getNextIndex(direction, focusIndex, strIndex, endIndex) { |
|
|
|
let cell = Store.flowdata[focusIndex][c]; |
|
|
|
|
|
|
|
if(getObjType(cell) == "object" && isRealNull(cell.v)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else if(isRealNull(cell)){ |
|
|
|
cellNull.push(false); |
|
|
|
cellNull.push(true); |
|
|
|
} |
|
|
|
else{ |
|
|
|
cellNull.push(true); |
|
|
|
cellNull.push(false); |
|
|
|
} |
|
|
|
|
|
|
|
if(cellNull.length == 1 && stNull && cellNull[i] == false){ |
|
|
|