Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(zh): addRoute is missing the added version #3824

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/zh/api/README.md
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