Browse Source

fix: modify the default image type to avoid cropping images that become too large. (#4307)

Co-authored-by: YanQi <yanqirj@gmail.com>
pull/4410/head
YanQi 2 years ago
committed by GitHub
parent
commit
f99cc9b9fe
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/Cropper/src/Cropper.vue

2
src/components/Cropper/src/Cropper.vue

@ -151,7 +151,7 @@
fileReader.onerror = () => { fileReader.onerror = () => {
emit('cropendError'); emit('cropendError');
}; };
}, 'image/png'); }, 'image/jpeg');
} }
// Get a circular picture canvas // Get a circular picture canvas

Loading…
Cancel
Save