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(ja): update navigation docs #2797

Merged
merged 1 commit into from
Jun 4, 2019
Merged
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
3 changes: 1 addition & 2 deletions docs/ja/guide/essentials/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ router.push({ name: 'user', params: { userId: '123' } })
router.push({ path: 'register', query: { plan: 'private' } })
```

**注意**: `params` は、上記例に示すように、`path` が提供されている場合は無視されます。これは `query` に対するケースとは異なります。
代わりに、ルートの `name` か任意のパラメータを付与した `path` 全体を手動で指定する必要があります:
**注意**: `path` が渡された場合は `params` は無視されます(`query` は上の例の通り無視されません)。代わりに `name` でルート名を渡すか、`path` にすべてのパラメータを含める必要があります:

```js
const userId = '123'
Expand Down