Unverified Commit 4a89fa12 authored by afc163's avatar afc163

🆙 upgrade bizcharts version to fix forceFit of null

close #4107
ref alibaba/BizCharts#819
close #4195
parent 77f223e0
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
"dependencies": { "dependencies": {
"@antv/data-set": "^0.10.1", "@antv/data-set": "^0.10.1",
"antd": "^3.16.1", "antd": "^3.16.1",
"bizcharts": "3.5.2-beta.1", "bizcharts": "^3.5.2",
"bizcharts-plugin-slider": "^2.1.1-beta.1", "bizcharts-plugin-slider": "^2.1.1-beta.1",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"dva": "^2.4.1", "dva": "^2.4.1",
......
...@@ -33,10 +33,6 @@ class Analysis extends Component { ...@@ -33,10 +33,6 @@ class Analysis extends Component {
} }
componentWillUnmount() { componentWillUnmount() {
const { dispatch } = this.props;
dispatch({
type: 'chart/clear',
});
cancelAnimationFrame(this.reqRef); cancelAnimationFrame(this.reqRef);
} }
......
...@@ -62,13 +62,6 @@ class Workplace extends PureComponent { ...@@ -62,13 +62,6 @@ class Workplace extends PureComponent {
}); });
} }
componentWillUnmount() {
const { dispatch } = this.props;
dispatch({
type: 'chart/clear',
});
}
renderActivities() { renderActivities() {
const { const {
activities: { list }, activities: { list },
......
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