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