update
This commit is contained in:
parent
f1dfa8ffab
commit
5c9c4dff44
2 changed files with 2 additions and 2 deletions
|
@ -590,7 +590,7 @@
|
|||
let bodyHeight = bodyEl.offsetHeight;
|
||||
|
||||
if (!this.$refs.header) {
|
||||
this.showHorizontalScrollBar = bodyEl.offsetWidth < bodyContentEl.offsetWidth;
|
||||
this.showHorizontalScrollBar = bodyEl.offsetWidth < bodyContentEl.offsetWidth + (this.showVerticalScrollBar?this.scrollBarWidth:0);
|
||||
}
|
||||
|
||||
this.showVerticalScrollBar = this.bodyHeight? bodyHeight - (this.showHorizontalScrollBar?this.scrollBarWidth:0) < bodyContentHeight : false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue