wesmiler 6 rokov pred
rodič
commit
c03949e253
1 zmenil súbory, kde vykonal 9 pridanie a 2 odobranie
  1. 9 2
      public/static/weixin/js/photo.js

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

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