From e906d57094da5c7e3a52fe491bbe8e51bc9b262b Mon Sep 17 00:00:00 2001 From: Aresn Date: Mon, 21 May 2018 10:51:23 +0800 Subject: [PATCH] Update tabs.vue --- src/components/tabs/tabs.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tabs/tabs.vue b/src/components/tabs/tabs.vue index 294dbfc8..e3d156a6 100644 --- a/src/components/tabs/tabs.vue +++ b/src/components/tabs/tabs.vue @@ -149,7 +149,7 @@ visibility: 'hidden', width: `${this.barWidth}px` }; - if (this.type === 'line') style.display = 'block'; + if (this.type === 'line') style.visibility = 'visible'; if (this.animated) { style.transform = `translate3d(${this.barOffset}px, 0px, 0px)`; } else {