Skip to content

Commit fd93db1

Browse files
author
黄书伟
committed
Table 组件修复当表格无数据时,并且有横向滚动条,表头下方也存在滚动条的bug
1 parent 399d13a commit fd93db1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

examples/doc/updateLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2017-1-23 未发布
2+
1、Table 组件修复当表格无数据时,并且有横向滚动条,表头下方也存在滚动条的bug -- 已完成
3+
14
2017-1-23 已发布
25
1、Table 组件优化复杂表头行合并时,会添加空行
36
2、Table 组件修复复杂表头非固定列没有 checkbox 的问题 #80

libs/v-table/src/table.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,17 +826,15 @@
826826
827827
this.setScrollbarWidth();
828828
829-
this.tableResize();
830-
831829
this.tableEmpty();
832830
831+
this.tableResize();
832+
833833
if (Array.isArray(this.tableData) && this.tableData.length > 0) {
834834
835835
this.scrollControl();
836836
}
837837
838-
//this.singleSortInit();
839-
840838
this.controlScrollBar();
841839
},
842840
watch: {

umd/js/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)