Browse Source

fix: resize height not correct #2465

close #2465
pull/2584/head
tanjinzhou 4 years ago
parent
commit
922bcb05e7
  1. 2
      components/vc-resize-observer/index.jsx

2
components/vc-resize-observer/index.jsx

@ -64,7 +64,7 @@ const VueResizeObserver = {
if (this.width !== fixedWidth || this.height !== fixedHeight) {
const size = { width: fixedWidth, height: fixedHeight };
this.width = fixedWidth;
this.fixedHeight = fixedHeight;
this.height = fixedHeight;
this.$emit('resize', size);
}
},

Loading…
Cancel
Save