Browse Source

Vue: fix component destroy error

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

4
src/VueChartwerkPodMixin.ts

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

Loading…
Cancel
Save