Skip to content

Commit 119e515

Browse files
author
黄书伟
committed
Table 组件修复横向滚动条没有显示全的问题 #87
1 parent 8039bda commit 119e515

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/v-table/src/table.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,8 @@
592592
result = this.internalHeight - this.titleRowHeight;
593593
}
594594
595-
result -= this.footerTotalHeight;
595+
// 1px: 当有滚动条时,使滚动条显示全
596+
result -= (this.footerTotalHeight+1);
596597
597598
return result;
598599
},

0 commit comments

Comments
 (0)