提交 083f15f1 authored 作者: zhangdaiscott's avatar zhangdaiscott

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

上级 73ef10c2
...@@ -117,8 +117,9 @@ ...@@ -117,8 +117,9 @@
<!-- tr 只加载可见的和预加载的总共十条数据 --> <!-- tr 只加载可见的和预加载的总共十条数据 -->
<div <div
v-if=" v-if="
rowIndex >= parseInt(`${(scrollTop-rowHeight) / rowHeight}`) && maxHeight == null ||
(parseInt(`${scrollTop / rowHeight}`) + 9) > rowIndex (rowIndex >= parseInt(`${(scrollTop-rowHeight) / rowHeight}`) &&
(parseInt(`${scrollTop / rowHeight}`) + 9) > rowIndex)
" "
:id="`${caseId}tbody-tr-${rowIndex}`" :id="`${caseId}tbody-tr-${rowIndex}`"
:data-idx="rowIndex" :data-idx="rowIndex"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论