Commit 84ebabf5 authored by afc163's avatar afc163

Fix pie rerender

parent 9f511d87
...@@ -439,6 +439,7 @@ export default class Analysis extends Component { ...@@ -439,6 +439,7 @@ export default class Analysis extends Component {
style={{ marginTop: 24 }} style={{ marginTop: 24 }}
> >
<h4 style={{ marginTop: 8, marginBottom: 32 }}>销售额</h4> <h4 style={{ marginTop: 8, marginBottom: 32 }}>销售额</h4>
<div style={{ marginBottom: 57 }}>
<Pie <Pie
hasLegend hasLegend
subTitle="销售额" subTitle="销售额"
...@@ -447,8 +448,8 @@ export default class Analysis extends Component { ...@@ -447,8 +448,8 @@ export default class Analysis extends Component {
valueFormat={val => yuan(val)} valueFormat={val => yuan(val)}
height={240} height={240}
lineWidth={4} lineWidth={4}
style={{ marginBottom: 57 }}
/> />
</div>
</Card> </Card>
</Col> </Col>
</Row> </Row>
......
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