Skip to content

Commit 3cdb3d5

Browse files
Jinjiangposva
authored andcommitted
[docs] fixed #1897 to other languages (#1907)
1 parent 2090189 commit 3cdb3d5

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Diff for: docs/es/essentials/passing-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ const User = {
2626
}
2727
const router = new VueRouter({
2828
routes: [
29-
{ path: '/user/:id', component: User, props: true }
29+
{ path: '/user/:id', component: User, props: true },
3030

3131
// utilizando vistas con nombre, tienes que definir la opción prop para cada una de ellas:
3232
{
33-
path: '/user/:id',
33+
path: '/user/:id',
3434
components: { default: User, sidebar: Sidebar },
3535
props: { default: true, sidebar: false }
3636
}

Diff for: docs/ja/essentials/passing-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const User = {
2626
}
2727
const router = new VueRouter({
2828
routes: [
29-
{ path: '/user/:id', component: User, props: true }
29+
{ path: '/user/:id', component: User, props: true },
3030

3131
// 名前付きビューによるルートに対しては、名前付きビューごとに `props` オプションを定義しなければなりません:
3232
{

Diff for: docs/kr/essentials/passing-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const User = {
2626
}
2727
const router = new VueRouter({
2828
routes: [
29-
{ path: '/user/:id', component: User, props: true }
29+
{ path: '/user/:id', component: User, props: true },
3030
]
3131
})
3232
```

Diff for: docs/ru/essentials/passing-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const User = {
2626
}
2727
const router = new VueRouter({
2828
routes: [
29-
{ path: '/user/:id', component: User, props: true }
29+
{ path: '/user/:id', component: User, props: true },
3030

3131
// для маршрутов с именованными представлениями, необходимо указывать опцию `props` для каждого именованного представления:
3232
{

Diff for: docs/zh-cn/essentials/passing-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const User = {
2626
}
2727
const router = new VueRouter({
2828
routes: [
29-
{ path: '/user/:id', component: User, props: true }
29+
{ path: '/user/:id', component: User, props: true },
3030

3131
// 对于包含命名视图的路由,你必须分别为每个命名视图添加 `props` 选项:
3232
{

0 commit comments

Comments
 (0)