[bugfix] Tab: custom line color (#1686)

This commit is contained in:
neverland 2018-08-24 17:48:53 +08:00 committed by GitHub
parent 665967bf67
commit 0f07e03e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,6 +246,7 @@ export default create({
this.lineStyle = {
width: `${width}px`,
backgroundColor: this.color,
transform: `translateX(${left}px)`,
transitionDuration: `${this.duration}s`
};