diff --git a/docs-gitbook/ja/data.md b/docs-gitbook/ja/data.md index e3024cea..9e731f97 100644 --- a/docs-gitbook/ja/data.md +++ b/docs-gitbook/ja/data.md @@ -87,7 +87,7 @@ export default { }, computed: { // ストアの状態から item を表示します - items () { + item () { return this.$store.state.items[this.$route.params.id] } } diff --git a/docs/ja/guide/data.md b/docs/ja/guide/data.md index 304abb21..20dc8373 100644 --- a/docs/ja/guide/data.md +++ b/docs/ja/guide/data.md @@ -96,7 +96,7 @@ export default { computed: { // ストアの状態から item を表示します - items () { + item () { return this.$store.state.items[this.$route.params.id] } }