This commit is contained in:
梁灏 2019-10-15 10:30:01 +08:00
parent 76580ceded
commit 9d330ecdf8
2 changed files with 3 additions and 1 deletions

View file

@ -249,7 +249,7 @@
const tableLeft = tableEl.getBoundingClientRect().left; const tableLeft = tableEl.getBoundingClientRect().left;
const columnEl = this.$el.querySelector(`th.ivu-table-column-${column.__id}`); const columnEl = this.$el.querySelector(`th.ivu-table-column-${column.__id}`);
const columnRect = columnEl.getBoundingClientRect(); const columnRect = columnEl.getBoundingClientRect();
const minLeft = columnRect.left - tableLeft + 60; const minLeft = columnRect.left - tableLeft + 30;
table.showResizeLine = true; table.showResizeLine = true;

View file

@ -103,6 +103,8 @@
tr{ tr{
th{ th{
position: relative; position: relative;
height: 100%;
padding: 8px 0;
} }
} }
} }