質問編集履歴

1

mapGettersの記述が漏れていたので追加いたしました

2021/01/27 00:04

投稿

nomu_lui
nomu_lui

スコア11

test CHANGED
File without changes
test CHANGED
@@ -148,7 +148,7 @@
148
148
 
149
149
  import RakutenApiResultItem from "./RakutenApiResultItem";
150
150
 
151
- import { mapGetters, mapActions } from "vuex";
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>