<AMapView.Marker key = {i} pinColor={Markers.pinColor} draggable title={Markers.title} description={Markers.description}
coordinate={{latitude:Markers.coordinate.latitude, longitude:Markers.coordinate.longitude} } onPress={(Markers.title)=>{this.onMarker(Markers.title)}} />请问我这样绑定点击事件,为什么箭头函数下报红???
<AMapView.Marker key = {i} pinColor={Markers.pinColor} draggable title={Markers.title} description={Markers.description}
coordinate={{latitude:Markers.coordinate.latitude, longitude:Markers.coordinate.longitude} } onPress={(Markers.title)=>{this.onMarker(Markers.title)}} />请问我这样绑定点击事件,为什么箭头函数下报红???