This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user