diff --git a/src/core/view/components/image/index.vue b/src/core/view/components/image/index.vue index 7c5a20376fa20057b363ce573064aa91d42f95ae..f4464bbc48e54e27d53875e70111fa25fd3f0d7c 100644 --- a/src/core/view/components/image/index.vue +++ b/src/core/view/components/image/index.vue @@ -143,7 +143,7 @@ export default { } else if (this.mode === 'heightFix') { const height = rect.height if (height) { - $el.style.width = fixNumber(height / this.ratio) + 'px' + $el.style.width = fixNumber(height * this.ratio) + 'px' } } }