Skip to content

Commit 1843228

Browse files
committed
compat Vue v1.x
1 parent 4bf8b1b commit 1843228

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/create.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ function create(tagName, Highcharts) {
3232
},
3333
beforeDestroy: function() {
3434
!isRenderer && this.chart.destroy();
35+
},
36+
// compat Vue v1.x
37+
ready: function() {
38+
this._renderChart();
3539
}
3640
};
3741
}

0 commit comments

Comments
 (0)