質問編集履歴
1
コードのミスを訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
updated_at: 2020/01/01,
|
20
20
|
|
21
|
-
|
21
|
+
reviews: [
|
22
22
|
|
23
23
|
{ review_id: 1, comment: "レビュー1" },
|
24
24
|
|
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
app.$axios.$get('/api/v1/products/' + el.id + '/reviews').then((res) => {
|
60
60
|
|
61
|
-
el.
|
61
|
+
el.reviews = res.data
|
62
62
|
|
63
63
|
})
|
64
64
|
|