diff --git a/src/components/autocomplete/AutoComplete.vue b/src/components/autocomplete/AutoComplete.vue index ecd1ec6d8..5ef4a27de 100755 --- a/src/components/autocomplete/AutoComplete.vue +++ b/src/components/autocomplete/AutoComplete.vue @@ -103,7 +103,7 @@ export default { } } }, - beforeDestroy() { + beforeUnmount() { this.restoreAppend(); this.unbindOutsideClickListener(); }, diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 1790fd1f8..9c195ede8 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -330,7 +330,7 @@ export default { this.selectionEnd = null; } }, - beforeDestroy() { + beforeUnmount() { if (this.timePickerTimer) { clearTimeout(this.timePickerTimer); } diff --git a/src/components/carousel/Carousel.vue b/src/components/carousel/Carousel.vue index bf0943030..18f69382c 100755 --- a/src/components/carousel/Carousel.vue +++ b/src/components/carousel/Carousel.vue @@ -1,6 +1,6 @@