Commit 8fd85f66 authored by 朱国瑞's avatar 朱国瑞

处理裁剪图片默认宽高

parent bc180f71
......@@ -285,8 +285,8 @@ const onImageLoaded = (val: any) => {
rectData.value = {
left: 0,
top: 0,
width: imageWidth,
height: imageHeight
width: img.width,
height: img.height
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment