Commit 42fa79572ae28c1456594135acbe4fc02205bfa6

Authored by huanghong
1 parent 9fea8e7d

test

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
src/components/table/table.vue
@@ -401,14 +401,14 @@ @@ -401,14 +401,14 @@
401 this.showHorizontalScrollBar = bodyWidth < bodyContentWidth + (this.showVerticalScrollBar?this.scrollBarWidth:0); 401 this.showHorizontalScrollBar = bodyWidth < bodyContentWidth + (this.showVerticalScrollBar?this.scrollBarWidth:0);
402 402
403 if(this.showVerticalScrollBar){ 403 if(this.showVerticalScrollBar){
404 - bodyEl.classList.add(this.prefixCls +'-overflowY') 404 + bodyEl.classList.add(this.prefixCls +'-overflowY');
405 }else{ 405 }else{
406 - bodyEl.classList.remove(this.prefixCls +'-overflowY') 406 + bodyEl.classList.remove(this.prefixCls +'-overflowY');
407 } 407 }
408 if(this.showHorizontalScrollBar){ 408 if(this.showHorizontalScrollBar){
409 - bodyEl.classList.add(this.prefixCls +'-overflowX') 409 + bodyEl.classList.add(this.prefixCls +'-overflowX');
410 }else{ 410 }else{
411 - bodyEl.classList.remove(this.prefixCls +'-overflowX') 411 + bodyEl.classList.remove(this.prefixCls +'-overflowX');
412 } 412 }
413 413
414 } 414 }