remove console.log

This commit is contained in:
huanghong 2018-03-21 15:27:14 +08:00
parent 95e1720ce3
commit e399c5e907

View file

@ -25,9 +25,6 @@ export default {
width = this.columnsWidth[column._index].width; width = this.columnsWidth[column._index].width;
} }
// when browser has scrollBar,set a width to resolve scroll position bug // when browser has scrollBar,set a width to resolve scroll position bug
if(this.columns.length==7 && column.fixed){
console.log(column);
}
if (width && this.columns.length === index + 1 && top && this.$parent.bodyHeight !== 0 && column.fixed!=='left' && !this.fixed) { if (width && this.columns.length === index + 1 && top && this.$parent.bodyHeight !== 0 && column.fixed!=='left' && !this.fixed) {
let scrollBarWidth = this.$parent.scrollBarWidth; let scrollBarWidth = this.$parent.scrollBarWidth;
if (!this.$parent.showVerticalScrollBar) scrollBarWidth = 0; if (!this.$parent.showVerticalScrollBar) scrollBarWidth = 0;