Explorar el Código

Update cropper.html

邹景立 hace 2 años
padre
commit
851c3ff238
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/data/view/base/config/cropper.html

+ 1 - 1
app/data/view/base/config/cropper.html

@@ -34,7 +34,7 @@
 
             // 初始化图片背景
             cropper = new Cropper(image, options = {
-                viewMode: 1, aspectRatio: 1, ready: function () {
+                viewMode: 2, aspectRatio: 1, ready: function () {
                     if (typeof defaData === 'object') cropper.setData(defaData);
                 }, crop: function () {
                     $('#inputImage').val(image.src);