質問するログイン新規登録

回答編集履歴

5

2021/02/04 16:27

投稿

退会済みユーザー
answer CHANGED
File without changes

4

2021/02/04 16:27

投稿

退会済みユーザー
answer CHANGED
@@ -1,5 +1,5 @@
1
1
  質問の段階でソースが正しく挿入されていないので、全部検証しきれていないのですが、
2
- methodsのところは
2
+ methodsのところは
3
3
  ```
4
4
  (略)
5
5
  methods: {

3

修正

2021/02/04 16:27

投稿

退会済みユーザー
answer CHANGED
@@ -12,7 +12,7 @@
12
12
  return;
13
13
  }
14
14
 
15
- if (fetchedPhotos.length === 0) {
15
+ if (data.photos.photo.length === 0) {
16
16
  return;
17
17
  }
18
18
 

2

修正

2021/02/04 16:24

投稿

退会済みユーザー
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

修正

2021/02/04 13:46

投稿

退会済みユーザー
answer CHANGED
@@ -16,7 +16,7 @@
16
16
  return;
17
17
  }
18
18
 
19
- const imageData = fetchedPhotos.map((photo) => ({
19
+ const imageData = data.photos.map((photo) => ({
20
20
  id: photo.id,
21
21
  imageURL: getFlickrImageURL(photo, "q"),
22
22
  pageURL: getFlickrPageURL(photo),