From e68568b61f6602b9f31b4afc71b2e3635706ac62 Mon Sep 17 00:00:00 2001 From: cookfront Date: Fri, 31 Mar 2017 11:00:34 +0800 Subject: [PATCH] fix tabs --- packages/tab/src/tabs.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tab/src/tabs.vue b/packages/tab/src/tabs.vue index e56545632..f22481d6a 100644 --- a/packages/tab/src/tabs.vue +++ b/packages/tab/src/tabs.vue @@ -57,7 +57,7 @@ * `type`为`line`时,tab下方的横线的样式 */ navBarStyle() { - if (!this.isReady || type !== 'line') return; + if (!this.isReady || this.type !== 'line') return; const tabKey = this.curActive; const elem = this.$refs.tabkey[tabKey];