diff --git a/src/components/table/table.vue b/src/components/table/table.vue index 3023aab..9424ca9 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -401,14 +401,14 @@ this.showHorizontalScrollBar = bodyWidth < bodyContentWidth + (this.showVerticalScrollBar?this.scrollBarWidth:0); if(this.showVerticalScrollBar){ - bodyEl.classList.add(this.prefixCls +'-overflowY') + bodyEl.classList.add(this.prefixCls +'-overflowY'); }else{ - bodyEl.classList.remove(this.prefixCls +'-overflowY') + bodyEl.classList.remove(this.prefixCls +'-overflowY'); } if(this.showHorizontalScrollBar){ - bodyEl.classList.add(this.prefixCls +'-overflowX') + bodyEl.classList.add(this.prefixCls +'-overflowX'); }else{ - bodyEl.classList.remove(this.prefixCls +'-overflowX') + bodyEl.classList.remove(this.prefixCls +'-overflowX'); } } -- libgit2 0.21.4