我有一个名为NTCPDiamondScreen.js的组件/屏幕,我在其中启动了一个post请求,我为该请求创建了一个名为ProjectContext.js的上下文(并在其中使用了useReducer ),以便管理操作/状态。我不知道为什么我得到了无法处理的实体422错误,即使当我在Postman上测试它时,它工作得很好,没有任何错误: Request failed with status code 422
- node_modules\axios\lib\core\createError.js:15:17 in createError
- node_modules\axios\lib\co
我没有看到panResponsder在我的安卓手机上运行,我也没有看到它的应用程序运行得像预期的那样,.I正在使用expo,我扫描它在我的安卓设备上运行应用程序,.Here是代码,我也使用了调试器,但似乎什么都不起作用。
export default class Deck extends React.Component {
constructor(props){
super(props);
//decalred as local variable
this.PanResponder=PanResponder.create({