Browse Source

Vue: fix component destroy error

pull/2/head
rozetko 2 years ago
parent
commit
6055a3d399
  1. 2
      src/VueChartwerkPodMixin.ts

2
src/VueChartwerkPodMixin.ts

@ -32,7 +32,9 @@ export default {
this.renderChart();
},
destroyed() {
if(this.pod) {
this.pod.removeEventListeners();
}
this.pod = undefined;
},
methods: {

Loading…
Cancel
Save