提交 d93a6771 authored 作者: zhangdaiscott's avatar zhangdaiscott

【issues/4798】修复popup弹出框使用j-editable-table 缺失行数据

上级 49302235
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
v-if=" v-if="
maxHeight == null || maxHeight == null ||
(rowIndex >= parseInt(`${(scrollTop-rowHeight) / rowHeight}`) && (rowIndex >= parseInt(`${(scrollTop-rowHeight) / rowHeight}`) &&
(parseInt(`${scrollTop / rowHeight}`) + 9) > rowIndex) (parseInt(`${scrollTop / rowHeight}`) + maxShowLines) > rowIndex)
" "
:id="`${caseId}tbody-tr-${rowIndex}`" :id="`${caseId}tbody-tr-${rowIndex}`"
:data-idx="rowIndex" :data-idx="rowIndex"
...@@ -806,6 +806,11 @@ ...@@ -806,6 +806,11 @@
type: Number, type: Number,
default: 400 default: 400
}, },
// 最大显示行数
maxShowLines: {
type: Number,
default: 9
},
// 要禁用的行 // 要禁用的行
disabledRows: { disabledRows: {
type: Object, type: Object,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论