diff --git a/src/views/Home.vue b/src/views/Home.vue index 51dbc8f8..a175d4d2 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -133,7 +133,7 @@ export default { }, jumpToHash() { - const {hash} = this.$route + const hash = decodeURI(this.$route.hash) if (hash) { const el = document.querySelector(hash) if (el) {