【issues/I5IGXC】修复JEditableTable组件,当数据超过9条,不显示 ]

This commit is contained in:
zhangdaiscott
2022-10-20 22:28:26 +08:00
parent 73ef10c2e7
commit 083f15f1a8

View File

@@ -117,8 +117,9 @@
<!-- tr 只加载可见的和预加载的总共十条数据 -->
<div
v-if="
rowIndex >= parseInt(`${(scrollTop-rowHeight) / rowHeight}`) &&
(parseInt(`${scrollTop / rowHeight}`) + 9) > rowIndex
maxHeight == null ||
(rowIndex >= parseInt(`${(scrollTop-rowHeight) / rowHeight}`) &&
(parseInt(`${scrollTop / rowHeight}`) + 9) > rowIndex)
"
:id="`${caseId}tbody-tr-${rowIndex}`"
:data-idx="rowIndex"