提交 4a252ab8 编写于 作者: Y yiminghe

Merge branch 'master' of github.com:ant-design/ant-design

...@@ -54,7 +54,7 @@ var Line = React.createClass({ ...@@ -54,7 +54,7 @@ var Line = React.createClass({
}else { }else {
fullCls = ' ' + prefixCls + '-line-wrap-full'; fullCls = ' ' + prefixCls + '-line-wrap-full';
} }
var persentStyle = { var percentStyle = {
width: props.percent + '%', width: props.percent + '%',
height: props.strokeWidth height: props.strokeWidth
}; };
...@@ -64,7 +64,7 @@ var Line = React.createClass({ ...@@ -64,7 +64,7 @@ var Line = React.createClass({
{progressInfo} {progressInfo}
<div className={prefixCls + '-line-outer'}> <div className={prefixCls + '-line-outer'}>
<div className={prefixCls + '-line-inner'}> <div className={prefixCls + '-line-inner'}>
<div className={prefixCls + '-line-bg'} style={persentStyle}></div> <div className={prefixCls + '-line-bg'} style={percentStyle}></div>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册