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];