This commit is contained in:
2019-06-05 00:02:53 +00:00
parent 9427fd1a8a
commit f4d9220d62
9 changed files with 195 additions and 88 deletions

View File

@@ -90,7 +90,9 @@
<v-content>
<v-container fluid fill-height>
<v-layout justify-center>
<router-view></router-view>
<transition name="fade" mode="out-in" @after-leave="afterLeave">
<router-view class="view"></router-view>
</transition>
</v-layout>
</v-container>
</v-content>
@@ -166,6 +168,11 @@ export default {
},
props: {
source: String
},
methods: {
afterLeave() {
this.$root.$emit("triggerScroll");
}
}
};
</script>