質問編集履歴

2

ログ項目に補足を追記

2021/06/02 09:41

投稿

xoxoxo
xoxoxo

スコア7

test CHANGED
File without changes
test CHANGED
@@ -15,6 +15,8 @@
15
15
 
16
16
 
17
17
  ### ログ
18
+
19
+ ソースのconsole.log('rejection')で下記の内容が出力。
18
20
 
19
21
  dataがnullになっていました。
20
22
 

1

ソース記述追記

2021/06/02 09:41

投稿

xoxoxo
xoxoxo

スコア7

test CHANGED
File without changes
test CHANGED
@@ -46,7 +46,15 @@
46
46
 
47
47
  }).then(
48
48
 
49
- function(response) { ←このresponseが受け取れず、上記のログの状態です。
49
+ function(response){console.log(response);}, //responseは空
50
+
51
+ function(rejection){
52
+
53
+ console.log('rejection');
54
+
55
+ console.log(rejection);
56
+
57
+ }); // 記述のログはこちらの分
50
58
 
51
59
 
52
60