ReactNative初识
2018-11-15 本文已影响0人
ElonYanJ
1 编译reactnativeAndroid代码 react-native run-android
2 网络请求
fetch("网址", {
method: "POST",
headers: {
Accept: "application/json",
"Content-Type": "application/json"
},
body: JSON.stringify({
key: value,
key: value
})
});