Skip to content

Commit

Permalink
【issues/4798】修复popup弹出框使用j-editable-table 缺失行数据
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed Apr 12, 2023
1 parent 4930223 commit d93a677
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/jeecg/JEditableTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
v-if="
maxHeight == null ||
(rowIndex >= parseInt(`${(scrollTop-rowHeight) / rowHeight}`) &&
(parseInt(`${scrollTop / rowHeight}`) + 9) > rowIndex)
(parseInt(`${scrollTop / rowHeight}`) + maxShowLines) > rowIndex)
"
:id="`${caseId}tbody-tr-${rowIndex}`"
:data-idx="rowIndex"
Expand Down Expand Up @@ -806,6 +806,11 @@
type: Number,
default: 400
},
// 最大显示行数
maxShowLines: {
type: Number,
default: 9
},
// 要禁用的行
disabledRows: {
type: Object,
Expand Down

0 comments on commit d93a677

Please sign in to comment.