瀏覽代碼

Update cropper.html

邹景立 2 年之前
父節點
當前提交
851c3ff238
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);