Update tabs.vue
This commit is contained in:
parent
3ce6b446d3
commit
e906d57094
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@
|
||||||
visibility: 'hidden',
|
visibility: 'hidden',
|
||||||
width: `${this.barWidth}px`
|
width: `${this.barWidth}px`
|
||||||
};
|
};
|
||||||
if (this.type === 'line') style.display = 'block';
|
if (this.type === 'line') style.visibility = 'visible';
|
||||||
if (this.animated) {
|
if (this.animated) {
|
||||||
style.transform = `translate3d(${this.barOffset}px, 0px, 0px)`;
|
style.transform = `translate3d(${this.barOffset}px, 0px, 0px)`;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue