Commit 7caeba5d by zhaochengxiang

资产地图

parent 229c46a1
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
.yy-card-body { .yy-card-body {
color: #1890ff !important; color: #1890ff !important;
font-size: 18px !important; font-size: 18px !important;
height: 76!important; height: 76px !important;
} }
} }
\ No newline at end of file
...@@ -225,7 +225,7 @@ class MapContent extends React.Component { ...@@ -225,7 +225,7 @@ class MapContent extends React.Component {
group && group.map((item, _index) => { group && group.map((item, _index) => {
return ( return (
<Col key={_index} span={24/column}> <Col key={_index} span={24/column}>
<SquareItem item={item} index={_index} onClick={this.onSquareItemClick} {...this.props} /> <SquareItem item={item} index={(index*column+_index)} onClick={this.onSquareItemClick} {...this.props} />
</Col> </Col>
) )
}) })
......
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