提交 757855d7 编写于 作者: Q qiang

fix: image mode = heightFix question/107022

上级 fb4ae588
......@@ -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'
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册