changed to vue 2 lifecycle hook

This commit is contained in:
vabene1111
2022-02-07 14:48:52 +01:00
parent 5f9820ed30
commit f37790a24a

View File

@@ -221,7 +221,7 @@ export default {
this.$i18n.locale = window.CUSTOM_LOCALE this.$i18n.locale = window.CUSTOM_LOCALE
this.requestWakeLock() this.requestWakeLock()
}, },
beforeUnmount() { beforeDestroy() {
this.destroyWakeLock() this.destroyWakeLock()
}, },
methods: { methods: {