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();
 			});