mirror of
https://github.com/hustcc/echarts-for-react.git
synced 2025-12-08 20:16:09 +00:00
fixed #10 -> v1.1.4
This commit is contained in:
parent
d6f6647c23
commit
67229366db
6
demo/dist/bundle.js
vendored
6
demo/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -60,7 +60,7 @@ var ReactEcharts = _react2['default'].createClass({
|
||||
|
||||
// remove
|
||||
componentWillUnmount: function componentWillUnmount() {
|
||||
_echarts2['default'].dispose(this.refs.chart);
|
||||
_echarts2['default'].dispose(this.refs.echartsDom);
|
||||
},
|
||||
|
||||
// render the dom
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "echarts-for-react",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "baidu Echarts(v3.0) components for react",
|
||||
"main": "lib/echarts-for-react",
|
||||
"scripts": {
|
||||
|
||||
@ -39,7 +39,7 @@ const ReactEcharts = React.createClass({
|
||||
},
|
||||
// remove
|
||||
componentWillUnmount() {
|
||||
echarts.dispose(this.refs.chart)
|
||||
echarts.dispose(this.refs.echartsDom)
|
||||
},
|
||||
// render the dom
|
||||
renderEchartDom() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user