修正生命周期钩子,将beforeDestroy更改为beforeUnmount (#738) (#742)

优化将beforeDestroy更改为beforeUnmount
This commit is contained in:
奇淼(piexlmax
2021-09-26 11:37:19 +08:00
committed by GitHub
parent d4914d6eca
commit 8cc56c7db5
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export default {
screenfull.on('change', this.changeFullShow)
}
},
destroyed() {
unmounted() {
screenfull.off('change', this.changeFullShow)
},
methods: {