mirror of
https://github.com/jeecgboot/ant-design-vue-jeecg.git
synced 2026-02-27 01:01:47 +08:00
【issues/I5IGXC】修复JEditableTable组件,当数据超过9条,不显示 ]
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user