diff --git a/packages/tabs/index.vue b/packages/tabs/index.vue index 941302984..8a158d329 100644 --- a/packages/tabs/index.vue +++ b/packages/tabs/index.vue @@ -246,6 +246,7 @@ export default create({ this.lineStyle = { width: `${width}px`, + backgroundColor: this.color, transform: `translateX(${left}px)`, transitionDuration: `${this.duration}s` };