This commit is contained in:
Leopoldthecoder
2016-09-08 18:11:18 +08:00
parent 65d6938ddf
commit f7cc340f3c
5 changed files with 21 additions and 39 deletions

View File

@@ -81,6 +81,11 @@
<script>
export default {
name: 'app'
name: 'app',
created() {
window.addEventListener('hashchange', () => {
document.body.scrollTop = 0;
});
}
};
</script>