diff --git a/src/components/Images.vue b/src/components/Images.vue index cad3f3930..896cfd28e 100644 --- a/src/components/Images.vue +++ b/src/components/Images.vue @@ -154,7 +154,10 @@ export default { }, imgStyle() { if (this.zoomRatio === 1) { - return {} + return { + height: this.zoomHeight + 'px', + width: this.zoomWidth + 'px', + } } return { marginTop: Math.round(this.shiftY * 2) + 'px',