wesmiler 6 jaren geleden
bovenliggende
commit
7e49cf2363
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      public/static/weixin/js/photo.js

+ 2 - 2
public/static/weixin/js/photo.js

@@ -537,8 +537,8 @@ var app = new Vue({
                     };*/
 
                     _this.cropParams.cropData = {
-                        width: iWidth*3,
-                        height: iHeight*3,
+                        width: data.width*3,
+                        height: data.height*3,
                         // rotate: data.rotate,
                         imageSmoothingQuality: 'high',
                         fillColor: '#fff',