parent
98628ae986
commit
922bcb05e7
|
@ -64,7 +64,7 @@ const VueResizeObserver = {
|
||||||
if (this.width !== fixedWidth || this.height !== fixedHeight) {
|
if (this.width !== fixedWidth || this.height !== fixedHeight) {
|
||||||
const size = { width: fixedWidth, height: fixedHeight };
|
const size = { width: fixedWidth, height: fixedHeight };
|
||||||
this.width = fixedWidth;
|
this.width = fixedWidth;
|
||||||
this.fixedHeight = fixedHeight;
|
this.height = fixedHeight;
|
||||||
this.$emit('resize', size);
|
this.$emit('resize', size);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue