Commit 1b069a09 authored by ddcat1115's avatar ddcat1115

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

parents f0102c6d a9c1b886
...@@ -318,7 +318,7 @@ export default class Analysis extends Component { ...@@ -318,7 +318,7 @@ export default class Analysis extends Component {
{ {
rankingListData.map((item, i) => ( rankingListData.map((item, i) => (
<li key={item.title}> <li key={item.title}>
<span className={(i < 3) && styles.active}>{i + 1}</span> <span className={(i < 3) ? styles.active : ''}>{i + 1}</span>
<span>{item.title}</span> <span>{item.title}</span>
<span>{numeral(item.total).format('0,0')}</span> <span>{numeral(item.total).format('0,0')}</span>
</li> </li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment