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(); this.renderChart();
}, },
destroyed() { destroyed() {
if(this.pod) {
this.pod.removeEventListeners(); this.pod.removeEventListeners();
}
this.pod = undefined; this.pod = undefined;
}, },
methods: { methods: {

Loading…
Cancel
Save