parent
3d6fa54b39
commit
a404bbaed3
3 changed files with 11 additions and 3 deletions
|
@ -19,7 +19,7 @@ export default {
|
|||
width = this.columnsWidth[column._index].width;
|
||||
}
|
||||
// when browser has scrollBar,set a width to resolve scroll position bug
|
||||
if (this.columns.length === index + 1 && top) {
|
||||
if (this.columns.length === index + 1 && top && this.$parent.bodyHeight !== 0) {
|
||||
width += this.$parent.scrollBarWidth;
|
||||
}
|
||||
// when fixed type,reset first right fixed column's width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue