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

Co-authored-by: YanQi <yanqirj@gmail.com>
This commit is contained in:
YanQi 2024-09-03 21:26:01 +08:00 committed by GitHub
parent 0cf2271667
commit f99cc9b9fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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