diff --git a/src/components/table/table.vue b/src/components/table/table.vue index 6787078..3795c73 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -345,6 +345,7 @@ this.tableWidth = parseInt(getStyle(this.$el, 'width')) - 1; } this.columnsWidth = {}; + if(this.$refs.tbody===undefined ) {return;} this.$nextTick(() => { let columnsWidth = {}; let autoWidthIndex = -1; -- libgit2 0.21.4