fixed #10 -> v1.1.4

This commit is contained in:
hustcc 2016-08-22 12:22:21 +08:00
parent d6f6647c23
commit 67229366db
4 changed files with 6 additions and 6 deletions

6
demo/dist/bundle.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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

View File

@ -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": {

View File

@ -39,7 +39,7 @@ const ReactEcharts = React.createClass({
},
// remove
componentWillUnmount() {
echarts.dispose(this.refs.chart)
echarts.dispose(this.refs.echartsDom)
},
// render the dom
renderEchartDom() {