Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/zh/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ router.addRoutes(routes: Array<RouteConfig>)

### router.addRoute

> 3.5.0新增

添加一条新路由规则。如果该路由规则有 `name`,并且已经存在一个与之相同的名字,则会覆盖它。

函数签名:
Expand All @@ -446,6 +448,8 @@ addRoute(route: RouteConfig): () => void

### router.addRoute

> 3.5.0新增

添加一条新的路由规则记录作为现有路由的子路由。如果该路由规则有 `name`,并且已经存在一个与之相同的名字,则会覆盖它。

函数签名:
Expand Down