F2 icon indicating copy to clipboard operation
F2 copied to clipboard

ios饼图设置pieLabel & triggerOn: 'touchend',但是按住饼图短距离滑动的时候会触发 touchend,怎么解决?

Open genggengya opened this issue 2 years ago • 0 comments

如题,因不可直接设置 triggerOn: 'click' 触发 onclick 事件,于是设置了 touch end, 但是短距离滑动的时候会触发 touchend,怎么解决? chart.pieLabel({ // @ts-ignore labelCfg: function (data, color) { return { text: showValue ? ${data.type} ${data.value}% : data.type, }; }, onClick(e) { let { data } = e; _this.props.onTabPieCate(data); }, triggerOn: 'touchend', });

genggengya avatar Dec 28 '21 03:12 genggengya