wesmiler před 6 roky
rodič
revize
af21b1fdaa
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      public/static/weixin/js/photo.js

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

@@ -494,9 +494,9 @@ var app = new Vue({
                 responsive: true,
                 guides: false,
                 strict: false,
-                // width: iWidth,
+                width: iWidth,
                 dragMode: 'move',
-                // height: iHeight,
+                height: iHeight,
                 autoCropArea: 1,
                 cropBoxMovable: false,
                 cropBoxResizable: false,
@@ -645,6 +645,7 @@ var app = new Vue({
                 $.showLoading('图片处理中...');
                 var id = _this.cropParams.id;
                 $image = $("#cropImg");
+                alert(685456545);
                 console.log(_this.cropParams)
                 console.log(JSON.stringify(_this.cropParams))
                 // var canvas = $image.cropper('getCroppedCanvas');