chore: update

This commit is contained in:
xiaoxian521 2022-08-21 10:26:09 +08:00
parent d81ab81fb0
commit a7e8249ae6

View File

@ -454,7 +454,6 @@ function scrollStopMove() {
//
function wheel(e) {
e.preventDefault();
if (
unref(options).direction === "left" ||
unref(options).direction === "right"
@ -517,10 +516,10 @@ defineExpose({
:style="pos"
@mouseenter="enter"
@mouseleave="leave"
@touchstart="touchStart"
@touchmove="touchMove"
@touchstart.passive="touchStart"
@touchmove.passive="touchMove"
@touchend="touchEnd"
@mousewheel="wheel"
@mousewheel.passive="wheel"
>
<div :ref="'slotList' + classOption['key']" :style="float">
<slot />