Results 9 comments of 55

我也遇到这个问题,想问一下,怎么解决的呢?

你好,我想请教一下,开启多个消费进程,任务不会重复消费的原理是什么?是因为redis的原子性么。

嗯嗯,好的,非常谢谢你的讲解。 ---原始邮件--- 发件人: "HuZhongyuan"

If you have a solution, please let me know. I need it too. Thank you.

我也遇到了这个问题,请问你是怎么解决的呢?

看了一下源码, 我是这么解决的,在 onTouchMove 回调函数里,判断滑动距离小于设备高度或宽度的一半,抛出一个异常, 虽然感觉不太优雅,但好歹能解决问题了,哈哈。 ``` onTouchMove (weswiper, event) { const { XORY } = weswiper const touch = event.changedTouches[0] const distance = touch[`client${XORY}`] const tmpMove = distance - weswiper[`touchStart${XORY}`]...

我想有空的时候贡献一些代码,但还不太知道怎么开始,有相关的参考资料吗?