Commit e906d57094da5c7e3a52fe491bbe8e51bc9b262b
Committed by
GitHub
1 parent
3ce6b446
Update tabs.vue
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/tabs/tabs.vue
... | ... | @@ -149,7 +149,7 @@ |
149 | 149 | visibility: 'hidden', |
150 | 150 | width: `${this.barWidth}px` |
151 | 151 | }; |
152 | - if (this.type === 'line') style.display = 'block'; | |
152 | + if (this.type === 'line') style.visibility = 'visible'; | |
153 | 153 | if (this.animated) { |
154 | 154 | style.transform = `translate3d(${this.barOffset}px, 0px, 0px)`; |
155 | 155 | } else { | ... | ... |