diff --git a/src/layout/components/TagsView/ScrollPane.vue b/src/layout/components/TagsView/ScrollPane.vue
index e5f2c25..c5f25cd 100644
--- a/src/layout/components/TagsView/ScrollPane.vue
+++ b/src/layout/components/TagsView/ScrollPane.vue
@@ -20,6 +20,14 @@ const scroll = ({ scrollLeft }: { scrollLeft: number }) => {
currentScrollLeft = scrollLeft
}
+const wheelScroll = ({ deltaY }: WheelEvent) => {
+ if (/^-/.test(deltaY.toString())) {
+ scrollTo("left")
+ } else {
+ scrollTo("right")
+ }
+}
+
/** 点击滚动 */
const scrollTo = (direction: "left" | "right") => {
let scrollLeft = 0
@@ -48,7 +56,7 @@ const showScreenfull = computed(() => {
-
+