From 0f07e03e59e1c581a0779a27ac2ab9884a379be6 Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 24 Aug 2018 17:48:53 +0800 Subject: [PATCH] [bugfix] Tab: custom line color (#1686) --- packages/tabs/index.vue | 1 + 1 file changed, 1 insertion(+) 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` };