小编Atu*_*ari的帖子

标题的值不能从 ReadablenativeMap 转换为字符串

InsertDataToServer = () => {
const { pinValue1 } = this.state;
const { pinValue2 } = this.state;
const { pinValue3 } = this.state;
const { pinValue4 } = this.state;
var String_3 = pinValue1.concat(" " , pinValue2);
var String_4 = String_3.concat(" " ,  pinValue3);
var String_5 = String_4.concat(" " ,  pinValue4);

fetch("http://www.aonde.biz/mobile/doLogin.php", {
  method: "POST",
  headers: {
    Accept: "application/json",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "pin":212,

  })
})
  .then(response => response.json())
  .then(responseJson => {
    // Showing response message coming from server after …
Run Code Online (Sandbox Code Playgroud)

android ios reactjs react-native expo

5
推荐指数
3
解决办法
2万
查看次数

标签 统计

android ×1

expo ×1

ios ×1

react-native ×1

reactjs ×1