fix: 修复控制台告警 “Added non-passive event listener to a scroll-blocking 'wheel' event”
This commit is contained in:
parent
ed1748a111
commit
8c6f1bd450
@ -110,7 +110,7 @@ watch(
|
|||||||
<el-icon class="arrow left" @click="scrollTo('left')">
|
<el-icon class="arrow left" @click="scrollTo('left')">
|
||||||
<ArrowLeft />
|
<ArrowLeft />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
<el-scrollbar ref="scrollbarRef" @wheel.prevent="wheelScroll" @scroll="scroll">
|
<el-scrollbar ref="scrollbarRef" @wheel.passive="wheelScroll" @scroll="scroll">
|
||||||
<div ref="scrollbarContentRef" class="scrollbar-content">
|
<div ref="scrollbarContentRef" class="scrollbar-content">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user