]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
修改一处语法错误 (#1754)
authorzhjiajia <46287134@qq.com>
Fri, 31 Mar 2023 17:17:47 +0000 (01:17 +0800)
committerGitHub <noreply@github.com>
Fri, 31 Mar 2023 17:17:47 +0000 (01:17 +0800)
packages/docs/zh/guide/essentials/route-matching-syntax.md

index 67be20e4bc12c65202140e9941057713d3b49666..c72e744c9037d3871f0ccbd6942a06555389164f 100644 (file)
@@ -94,7 +94,7 @@ const router = createRouter({
     { path: '/users/:id', sensitive: true },
     // 将匹配 /users, /Users, 以及 /users/42 而非 /users/ 或 /users/42/
     { path: '/users/:id?' },
-  ]
+  ],
   strict: true, // applies to all routes
 })
 ```