|
|
|
@ -94,9 +94,11 @@ export class Position {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
if (~tablePosition.index) {
|
|
|
|
if (~tablePosition.index) {
|
|
|
|
const { index: tdValueIndex } = tablePosition
|
|
|
|
const { index: tdValueIndex } = tablePosition
|
|
|
|
|
|
|
|
const tdValueElement = td.value[tdValueIndex]
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
index,
|
|
|
|
index,
|
|
|
|
isControl: td.value[tdValueIndex].type === ElementType.CONTROL,
|
|
|
|
isCheckbox: tdValueElement.type === ElementType.CHECKBOX,
|
|
|
|
|
|
|
|
isControl: tdValueElement.type === ElementType.CONTROL,
|
|
|
|
isImage: tablePosition.isImage,
|
|
|
|
isImage: tablePosition.isImage,
|
|
|
|
isDirectHit: tablePosition.isDirectHit,
|
|
|
|
isDirectHit: tablePosition.isDirectHit,
|
|
|
|
isTable: true,
|
|
|
|
isTable: true,
|
|
|
|
|