mirror of
https://github.com/youzan/vant.git
synced 2025-12-11 02:04:16 +08:00
[bugfix] Tab: custom line color (#1686)
This commit is contained in:
@@ -246,6 +246,7 @@ export default create({
|
||||
|
||||
this.lineStyle = {
|
||||
width: `${width}px`,
|
||||
backgroundColor: this.color,
|
||||
transform: `translateX(${left}px)`,
|
||||
transitionDuration: `${this.duration}s`
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user