Update table.vue
This commit is contained in:
parent
f0d03d7200
commit
26ae79efb9
1 changed files with 4 additions and 1 deletions
|
@ -1405,8 +1405,11 @@
|
|||
});
|
||||
},
|
||||
beforeDestroy () {
|
||||
this.$off('on-visible-change');
|
||||
off(window, 'resize', this.handleResize);
|
||||
this.observer.removeListener(this.$el, this.handleResize);
|
||||
this.observer.removeAllListeners(this.$el);
|
||||
this.observer.uninstall(this.$el);
|
||||
this.observer = null;
|
||||
},
|
||||
watch: {
|
||||
data: {
|
||||
|
|
Loading…
Add table
Reference in a new issue