fix: life cycle hook naming
This commit is contained in:
parent
db49b9b532
commit
ecc3d3cf3f
7 changed files with 7 additions and 7 deletions
|
|
@ -153,7 +153,7 @@ export default {
|
|||
mounted() {
|
||||
document.addEventListener('click', this.hideDatePopup)
|
||||
},
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
document.removeEventListener('click', this.hideDatePopup)
|
||||
},
|
||||
watch: {
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ export default {
|
|||
mounted() {
|
||||
document.addEventListener('click', this.hideSearchResultsHandler)
|
||||
},
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
document.removeEventListener('click', this.hideSearchResultsHandler)
|
||||
},
|
||||
watch: {
|
||||
|
|
|
|||
Reference in a new issue