From 851c3ff238f385320c2b357533d89637e6b44e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sun, 29 May 2022 20:01:46 +0800 Subject: [PATCH] Update cropper.html --- app/data/view/base/config/cropper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/view/base/config/cropper.html b/app/data/view/base/config/cropper.html index 2c5880bd4..6c3a177a1 100644 --- a/app/data/view/base/config/cropper.html +++ b/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);