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
1 changed files with 1 additions and 1 deletions

View File

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