我在为用户提供删除功能的页面上显示了一个项目列表。在我的代码中,当用户点击delete时,我得到这个错误 undefined is not an object (evaluating this.state.myGroups) JS handleExistGroupJanuary, 2019 </Card> ); }
</ScrollView>
This is my app.js 我的应用程序的主体。..。从“react”导入React,{ useState };从“react-native”导入{ StyleSheet,Text,View,Button,TextInput,FlatList,};从“./components/ GoalItem”导入GoalItem;从“.React, { useState } from "react";
import { View, T