From cbdac015bfebb56d6d14c53e739c1506ee1a3384 Mon Sep 17 00:00:00 2001 From: Aresn Date: Thu, 26 Oct 2017 00:09:42 -0500 Subject: [PATCH] Update table.vue --- src/components/table/table.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/table.vue b/src/components/table/table.vue index 3795c73..5e2c09a 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -345,7 +345,7 @@ this.tableWidth = parseInt(getStyle(this.$el, 'width')) - 1; } this.columnsWidth = {}; - if(this.$refs.tbody===undefined ) {return;} + if (!this.$refs.tbody) return; this.$nextTick(() => { let columnsWidth = {}; let autoWidthIndex = -1; -- libgit2 0.21.4