wesmiler 6 lat temu
rodzic
commit
87ae99358a
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      public/static/weixin/js/photo.js

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

@@ -523,9 +523,10 @@ var app = new Vue({
                         var height = data.height;
                     }
                     _this.cropParams.cropData = {
-                        width: iWidth * 20,
-                        height: iHeight * 20,
+                        width: data.width,
+                        height: data.height,
                         rotate: data.rotate,
+                        imageSmoothingQuality: 'height',
                         fillColor: '#fff',
                     };
                 }