This commit is contained in:
syuilo 2020-09-19 14:04:24 +09:00
parent f661cb765a
commit 7f7fe3f94c
35 changed files with 154 additions and 120 deletions

View file

@ -171,7 +171,7 @@ export default defineComponent({
mounted() {
window.requestAnimationFrame(this.parallaxLoop);
this.$once('hook:beforeDestroy', () => {
this.$once('hook:beforeUnmount', () => {
window.cancelAnimationFrame(this.parallaxAnimationId);
});
},