更新 'SrcJuMethod.js'

Ju
src48597962 2 years ago
parent ce2bd92891
commit 31befb431e
  1. 2
      SrcJuMethod.js

@ -144,11 +144,13 @@ function imageCompress(imgurl,fileid) {
}); });
let size; let size;
let info = getPicInfo(f); let info = getPicInfo(f);
log(info);
if(info.outWidth>=info.outHeight){ if(info.outWidth>=info.outHeight){
size = info.outWidth; size = info.outWidth;
}else{ }else{
size = info.outHeight; size = info.outHeight;
} }
if(size<1080){ if(size<1080){
return imgurl; return imgurl;
}else{ }else{

Loading…
Cancel
Save