]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: typo (#1075)
authorcsdd-21 <51693248+csdd-21@users.noreply.github.com>
Mon, 16 Aug 2021 07:14:37 +0000 (15:14 +0800)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 07:14:37 +0000 (09:14 +0200)
docs/zh/guide/advanced/scroll-behavior.md

index e370cbf823f16a81ee08630fd5a2f52d548c40ff..65d9c28c25629a981ac768e847657af13bbf5c0b 100644 (file)
@@ -82,7 +82,7 @@ const router = createRouter({
   scrollBehavior(to, from, savedPosition) {
     if (to.hash) {
       return {
-        el: to.hash
+        el: to.hash,
         behavior: 'smooth',
       }
     }