Skip to content

Commit

Permalink
fix: el-data-table树翻页页码不显示错误 (#354)
Browse files Browse the repository at this point in the history
Co-authored-by: lichanghua <[email protected]>
  • Loading branch information
huazaili and lichanghua authored Jul 20, 2022
1 parent ccca117 commit 7c861a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/el-data-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ export default {
// 树形结构逻辑
if (this.isTree) {
this.data = this.tree2Array(data, this.expandAll)
this.total = total //树翻页总数
} else {
this.data = data
this.total = total
Expand Down

0 comments on commit 7c861a9

Please sign in to comment.