Skip to content

Commit

Permalink
Merge pull request #1 from AssemblyCoffee/patch-1
Browse files Browse the repository at this point in the history
re-render when updated
  • Loading branch information
weizhenye authored Oct 15, 2016
2 parents 6e49f77 + 44fd9d3 commit 7dce064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ function create(tagName, Highcharts) {
mounted: function() {
this._renderChart();
},
updated: function() {
this._renderChart();
},
beforeDestroy: function() {
!isRenderer && this.chart.destroy();
},
Expand Down

0 comments on commit 7dce064

Please sign in to comment.