This commit is contained in:
2024-10-24 12:14:24 +08:00
parent ea7b76a5a7
commit af00d2378d
2 changed files with 7 additions and 4 deletions

View File

@@ -103,7 +103,9 @@ const findIndex = () => {
prev +=
((current as VNode)!.props![breakPoint.value]?.span ?? (current as VNode)!.props?.span ?? 1) +
((current as VNode)!.props![breakPoint.value]?.offset ?? (current as VNode)!.props?.offset ?? 0)
if (Number(prev) > props.collapsedRows * gridCols.value - suffixCols) {
console.log('prev',prev)
console.log('props.collapsedRows',props.collapsedRows * gridCols.value - suffixCols)
if (Number(prev) >= props.collapsedRows * gridCols.value - suffixCols) {
hiddenIndex.value = index
find = true
throw 'find it'