Update cropper.html

This commit is contained in:
邹景立 2022-05-29 20:01:46 +08:00
parent 374d65be49
commit 851c3ff238

View File

@ -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);