} from '@react-navigation/core'import DropDownPicker from 'react-native-dropdown-picker我已经完成了导入,它是import DropDownPicker from 'react-native-dropdown-picker',在导入之前,我已经完成了根文件夹中的安装,这是来自的npm install<em
promise rejection: TypeError: undefined is not an object (evaluating 'this.setState')]at node_modules\react-native-dropdown-picker\src\componentsMessageQueue.js:132:4 in flushedQueue
这
我还添加了react-native-dropdown-picker,因为react-native的选择器在android上的占位符有问题。我想将我在下拉列表中使用的性别属性传递给state。TextInput, View, } from 'react-native'import DropDownPicker from 'react-native-dropdown-picker