Update table.vue
This commit is contained in:
parent
f6a787f63b
commit
cbdac015bf
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@
|
||||||
this.tableWidth = parseInt(getStyle(this.$el, 'width')) - 1;
|
this.tableWidth = parseInt(getStyle(this.$el, 'width')) - 1;
|
||||||
}
|
}
|
||||||
this.columnsWidth = {};
|
this.columnsWidth = {};
|
||||||
if(this.$refs.tbody===undefined ) {return;}
|
if (!this.$refs.tbody) return;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
let columnsWidth = {};
|
let columnsWidth = {};
|
||||||
let autoWidthIndex = -1;
|
let autoWidthIndex = -1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue