fixed #591
This commit is contained in:
parent
b164f7c05c
commit
67c9b1c8b9
6 changed files with 87 additions and 44 deletions
|
@ -664,6 +664,9 @@
|
|||
this.fixedHeader();
|
||||
this.$nextTick(() => this.ready = true);
|
||||
window.addEventListener('resize', this.handleResize, false);
|
||||
this.$on('on-visible-change', (val) => {
|
||||
if (val) this.handleResize();
|
||||
});
|
||||
},
|
||||
beforeDestroy () {
|
||||
window.removeEventListener('resize', this.handleResize, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue