Skip to content

Commit 787e39e

Browse files
committed
[FIX]修复网站列表无法使用鼠标滚轮翻页的问题
1 parent cdad4d5 commit 787e39e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/Links.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414
el: '.swiper-pagination',
1515
clickable: true,
1616
bulletElement: 'div',
17-
}" :mousewheel="{
18-
forceToAxis: true,
19-
releaseOnEdges: true,
20-
sensitivity: 1
21-
}">
17+
}" :mousewheel="true">
2218
<SwiperSlide v-for="(site, siteIndex) in siteLinksList" :key="'site-' + siteIndex">
2319
<el-row class="link-all" :gutter="20">
2420
<el-col v-for="(item, index) in site" :span="8" :key="'item-' + index">

0 commit comments

Comments
 (0)