From 94a09ce04551c884c226c337fd18f890c61b67c4 Mon Sep 17 00:00:00 2001 From: git Date: Sat, 21 Oct 2017 17:54:08 +0900 Subject: [PATCH] Auto scrollTo hash --- docs/views/Document.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/views/Document.vue b/docs/views/Document.vue index b4feeb2..3ff0f7e 100644 --- a/docs/views/Document.vue +++ b/docs/views/Document.vue @@ -57,7 +57,7 @@ import marked from 'marked' export default { mounted() { - // auto screenTop hash + // auto scrollTo hash if (this.$route.hash) { let el = document.querySelector(this.$route.hash) if (el) {