diff --git a/src/step/index.js b/src/step/index.js index cbd066464..c5fb1c2b2 100644 --- a/src/step/index.js +++ b/src/step/index.js @@ -53,7 +53,9 @@ export default createComponent({ render() { const { status, active } = this; const { activeColor, direction } = this.parent; + const titleStyle = active && { color: activeColor }; + const lineStyle = status === 'finish' && { background: activeColor }; return (