{})
active = true
if (cropper) {
cropper.destroy()
}
setTimeout(() => {
elImage = document.getElementById('el-image')
cropper = new Cropper(elImage, {
viewMode: 1,
autoCropArea: 1,
crop (e) {
var data = e.detail
cropWidth = Math.round(data.height)
cropHeight = Math.round(data.width)
},
})
}, 1)
">