Commit 764b9311 authored by zhengke's avatar zhengke

对比

parent f08e36cd
...@@ -227,7 +227,6 @@ const getImgSize = async () => { ...@@ -227,7 +227,6 @@ const getImgSize = async () => {
let TempSize = await FileService.getImageSizeWithoutDownloading(handleImageElement.value.src) let TempSize = await FileService.getImageSizeWithoutDownloading(handleImageElement.value.src)
let ratio = TempSize.width/imgWidth.value let ratio = TempSize.width/imgWidth.value
imgHeigth.value = TempSize.height/ratio imgHeigth.value = TempSize.height/ratio
console.log(imgHeigth.value ,'------')
} }
const getLockCutRatio = () =>{ const getLockCutRatio = () =>{
......
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