Fix image cropper not closing correctly

This commit is contained in:
Tusooa Zhu 2022-04-10 13:02:02 -04:00
parent 4d15cbcbbd
commit 169d13680a
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -66,7 +66,7 @@ const ImageCropper = {
}
},
methods: {
unmounted () {
destroy () {
if (this.cropper) {
this.cropper.destroy()
}