|
@@ -320,9 +320,7 @@ export default {
|
|
|
series:series
|
|
|
}
|
|
|
this.tickChart.setOption(this.option, true)
|
|
|
- window.addEventListener("resize", function () {
|
|
|
- _this.tickChart.resize();
|
|
|
- });
|
|
|
+ window.addEventListener("resize", this.chartsResize);
|
|
|
},
|
|
|
chartsResize(){
|
|
|
if(this.tickChart !== null && this.tickChart !== undefined){
|