Skip to content

Commit 8a52e99

Browse files
committed
beforeDestroyをbeforeUnmountに修正
Vue3対応のため
1 parent ebdfd00 commit 8a52e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/vue-dropzone.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export default {
264264
265265
vm.$emit("vdropzone-mounted");
266266
},
267-
beforeDestroy() {
267+
beforeUnmount() {
268268
if (this.destroyDropzone) this.dropzone.destroy();
269269
},
270270
methods: {

0 commit comments

Comments
 (0)