diff --git a/src/components/Main.vue b/src/components/Main.vue index f752290..3521e17 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -228,7 +228,8 @@ export default { scroll() { window.onscroll = () => { if ((window.innerHeight + window.scrollY) >= document.body.scrollHeight) { - this.loadStations() + const route = this.$route + this.loadStations(route.name) } } },