回答編集履歴
5
answer
CHANGED
File without changes
|
4
answer
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
質問の段階でソースが正しく挿入されていないので、全部検証しきれていないのですが、
|
2
|
-
methodsのところは
|
2
|
+
methodsのところは
|
3
3
|
```
|
4
4
|
(略)
|
5
5
|
methods: {
|
3
修正
answer
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
return;
|
13
13
|
}
|
14
14
|
|
15
|
-
if (
|
15
|
+
if (data.photos.photo.length === 0) {
|
16
16
|
return;
|
17
17
|
}
|
18
18
|
|
2
修正
answer
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
return;
|
17
17
|
}
|
18
18
|
|
19
|
-
const imageData = data.photos.map((photo) => ({
|
19
|
+
const imageData = data.photos.photo.map((photo) => ({
|
20
20
|
id: photo.id,
|
21
21
|
imageURL: getFlickrImageURL(photo, "q"),
|
22
22
|
pageURL: getFlickrPageURL(photo),
|
1
修正
answer
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
return;
|
17
17
|
}
|
18
18
|
|
19
|
-
const imageData =
|
19
|
+
const imageData = data.photos.map((photo) => ({
|
20
20
|
id: photo.id,
|
21
21
|
imageURL: getFlickrImageURL(photo, "q"),
|
22
22
|
pageURL: getFlickrPageURL(photo),
|