mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 16:37:18 +08:00
chore: update
This commit is contained in:
parent
d81ab81fb0
commit
a7e8249ae6
@ -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 />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user