我在这个简单的api调用中遇到了问题,我不知道为什么。我在reactJs上做了同样的事情,它在浏览器上运行得非常好。.then(error => console.log(error)); fetchAPI();未处理的承诺拒绝/Libraries/Network/XMLHttpRequest.js:575:10 in
已经实现了使用复选框的屏幕。遵循的示例TypeError: _this.setState is not a function._this.state.checked下面是我的代码:
import * as React from 'react';import {Dimensions, StyleSheet, View} from 'react-native</em