Skip to content

Commit 7bc7595

Browse files
committed
取消下滑关闭,效果不好
1 parent 21ecc62 commit 7bc7595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MoDrawer.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function handeContainerTouchMove(e: TouchEvent) {
2424
let moveEndY = e.changedTouches[0].pageY
2525
let Y = moveEndY - move //如果值为正,则代表手指下滑,反则则为上滑,为0则表示点击
2626
if (Y > 0) {
27-
emit('close')
27+
// emit('close')
2828
}
2929
}
3030
</script>

0 commit comments

Comments
 (0)