【发布时间】:2021-10-20 06:09:08
【问题描述】:
onValueChange={(itemValue) => {
setSelectedValue(itemValue);
if(itemValue == 'other'){
alert('You Choose: '+itemValue+' Nice')
return(
// The <View> Doesnt Work Why ????
<View style={{backgroundColor:'red',height:5000,width:5000,}}>
<Text>Anas</Text>
</View>
)
}
}}
这不起作用为什么???? 如果声明或我可以,我不能把它放进去? 我不知道!!
【问题讨论】:
标签: android ios reactjs react-native