mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 09:40:25 +08:00
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:
parent
0cf2271667
commit
f99cc9b9fe
@ -151,7 +151,7 @@
|
||||
fileReader.onerror = () => {
|
||||
emit('cropendError');
|
||||
};
|
||||
}, 'image/png');
|
||||
}, 'image/jpeg');
|
||||
}
|
||||
|
||||
// Get a circular picture canvas
|
||||
|
Loading…
Reference in New Issue
Block a user