質問編集履歴
1
mapGettersの記述が漏れていたので追加いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -148,7 +148,7 @@
|
|
148
148
|
|
149
149
|
import RakutenApiResultItem from "./RakutenApiResultItem";
|
150
150
|
|
151
|
-
import { mapGetters
|
151
|
+
import { mapGetters } from "vuex";
|
152
152
|
|
153
153
|
export default {
|
154
154
|
|
@@ -160,6 +160,12 @@
|
|
160
160
|
|
161
161
|
},
|
162
162
|
|
163
|
+
computed: {
|
164
|
+
|
165
|
+
...mapGetters(["items", "currentPage", "pageCount", "reviewCount", "reviewAverage"]),
|
166
|
+
|
167
|
+
},
|
168
|
+
|
163
169
|
};
|
164
170
|
|
165
171
|
</script>
|