wesmiler 6 лет назад
Родитель
Сommit
b57d6331c5
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      public/static/weixin/js/photo.js

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

@@ -512,12 +512,12 @@ var app = new Vue({
                 minContainerHeight: iHeight,
                 minCropBoxWidth: cropWidth,
                 maxCropBoxWidth: iWidth,
-                minCropBoxHeight: iHeight,
+                // minCropBoxHeight: iHeight,
                 // canvasWeight: cropWidth,
                 // canvasHeight: iHeight,
-                /*minCanvasWeight: cropWidth*0.4,
+                // minCanvasWeight: cropWidth*0.4,
                 maxCanvasWeight: cropWidth,
-                minCanvasHeight: iHeight,*/
+                minCanvasHeight: iHeight,
                 viewMode: 1,
                 crop: function (data) {
                     _this.cropParams.data = data;