Open thep0y opened 10 months ago
这样传入点击事件,点击时却不触发:
<Legend event={{ onTouchStart: (e) => console.log(e), }} /> // 或 <Legend onTouchStart={(e) => console.log(e)} />
目前只支持 图表标签shape上 声明事件 <rect onPan={()=>{ console.log('testttt') }}/>
legend组件上只开放了 onClick 事件
这样传入点击事件,点击时却不触发: