mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
fix: incorrect vnode order in some cases (#6140)
This commit is contained in:
@@ -162,7 +162,6 @@ export default createComponent({
|
||||
const deltaTime = new Date() - this.touchStartTime;
|
||||
const { offsetX = 0, offsetY = 0 } = this.$refs.swipe || {};
|
||||
|
||||
console.log('deltaTime', deltaTime);
|
||||
// prevent long tap to close component
|
||||
if (deltaTime < DOUBLE_CLICK_INTERVAL && offsetX < 10 && offsetY < 10) {
|
||||
if (!this.doubleClickTimer) {
|
||||
|
Reference in New Issue
Block a user