Commit a6eee4e568379a95aabf67ecf8b8b0821db2b68d

Authored by 梁灏
1 parent 67c9b1c8

update Table

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
src/components/table/table.vue
... ... @@ -665,7 +665,10 @@
665 665 this.$nextTick(() => this.ready = true);
666 666 window.addEventListener('resize', this.handleResize, false);
667 667 this.$on('on-visible-change', (val) => {
668   - if (val) this.handleResize();
  668 + if (val) {
  669 + this.handleResize();
  670 + this.fixedHeader();
  671 + }
669 672 });
670 673 },
671 674 beforeDestroy () {
... ...