Ver Fonte

Update cropper.html

邹景立 há 2 anos atrás
pai
commit
851c3ff238
1 ficheiros alterados com 1 adições e 1 exclusões
  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);