Skip to content

Commit 83443ed

Browse files
authored
Revert "fix typo for navigation.md (#2178)" (#2186)
This reverts commit bf53a4a.
1 parent bf53a4a commit 83443ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: docs/en/essentials/navigation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ router.push({ name: 'user', params: { userId: 123 }})
3030
router.push({ path: 'register', query: { plan: 'private' }})
3131
```
3232

33-
**Note**: `params` are ignored if a `path` is provided, which is not the case for `query`, as shown in the example below. Instead, you need to provide the `name` of the route or manually specify the whole `path` with any parameter:
33+
**Note**: `params` are ignored if a `path` is provided, which is not the case for `query`, as shown in the example above. Instead, you need to provide the `name` of the route or manually specify the whole `path` with any parameter:
3434

3535
```js
3636
const userId = 123

Diff for: docs/ja/essentials/navigation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ router.push({ name: 'user', params: { userId: 123 }})
3131
router.push({ path: 'register', query: { plan: 'private' }})
3232
```
3333

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

3737
```js

0 commit comments

Comments
 (0)