sunshibo пре 2 недеља
родитељ
комит
9ff4dca7b5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      HBuilderProjects/shareIndex.html

+ 1 - 1
HBuilderProjects/shareIndex.html

@@ -1263,7 +1263,7 @@
 				credentials: 'omit',
 				headers: { Accept: 'application/json' }
 			}).then(function (res) {
-				alert(res)
+				alert(res.json)
 				if (!res.ok) throw new Error('HTTP ' + res.status);
 				return res.json();
 			});