We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
click事件在pc端是可以的,但是手机端无效。百度地图手机端默认的时间是拖动,屏蔽了其他事件,
{ data.polygonArray.map((item,index) => ( <Point key={'pipeline'+polylineIndex+index} lng={item.lng} lat={item.lat} /> )) } <Events click={(type, target, point, pixel, overlay)=>{ console.log('click') this.pipelineClick(data,type)} } />
这个click就不会执行
有没有解决方案呢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
click事件在pc端是可以的,但是手机端无效。百度地图手机端默认的时间是拖动,屏蔽了其他事件,
{
data.polygonArray.map((item,index) => (
<Point key={'pipeline'+polylineIndex+index} lng={item.lng} lat={item.lat} />
))
}
<Events
click={(type, target, point, pixel, overlay)=>{
console.log('click')
this.pipelineClick(data,type)}
}
/>
这个click就不会执行
有没有解决方案呢
The text was updated successfully, but these errors were encountered: