taro如何在button的onLongPress手势中得到手松开的事件呢?
-
<Button class='bg-circle' onLongPress={(e) => {
console.log("onLongPress");
console.log(e.target)
// this.setState({
// isToggleOn: !this.state.isToggleOn
// }, () => {
// if (this.state.isToggleOn) {
// this.start();
// } else {
// this.stop();
// }
// })
}}>
</Button>