diff --git a/2019/12/vue-router.md b/2019/12/vue-router.md index 39cdc38..72f4f7d 100644 --- a/2019/12/vue-router.md +++ b/2019/12/vue-router.md @@ -339,5 +339,6 @@ const routes = [ {{$route.params.params内定义的参数名}} - +### 重定向: +定义路由的时候:把 { path: "/a/:id", component: aa }, \ No newline at end of file