wesmiler 6 年 前
コミット
7e49cf2363
1 ファイル変更2 行追加2 行削除
  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 = {
                     _this.cropParams.cropData = {
-                        width: iWidth*3,
-                        height: iHeight*3,
+                        width: data.width*3,
+                        height: data.height*3,
                         // rotate: data.rotate,
                         // rotate: data.rotate,
                         imageSmoothingQuality: 'high',
                         imageSmoothingQuality: 'high',
                         fillColor: '#fff',
                         fillColor: '#fff',