fetch-body传数据失败的原因

fetch请求里,body不能传对象,JSON.stringify()也没用。必须以formdata的形式传。jQ中会自动转,rn中自己手动封装啦。

你可能感兴趣的:(react-native)