From 6c49b47344d4ccabc05f5ece7bb147bcc3035f10 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期六, 27 七月 2024 15:08:13 +0800
Subject: [PATCH] update element-plus 2.7.5 => 2.7.8 update vue 3.4.25 => 3.4.34 update vite 5.2.10 => 5.2.12

---
 src/layout/components/TagsView/ScrollPane.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/layout/components/TagsView/ScrollPane.vue b/src/layout/components/TagsView/ScrollPane.vue
index a8e2ebc..3b30043 100644
--- a/src/layout/components/TagsView/ScrollPane.vue
+++ b/src/layout/components/TagsView/ScrollPane.vue
@@ -5,12 +5,13 @@
 </template>
 
 <script setup lang="ts">
+import { RouteLocationNormalized } from 'vue-router';
 import useTagsViewStore from '@/store/modules/tagsView';
-import { TagView } from 'vue-router';
+
 const tagAndTagSpacing = ref(4);
 
 const scrollContainerRef = ref<ElScrollbarInstance>();
-const scrollWrapper = computed(() => scrollContainerRef.value?.$refs.wrapRef as any);
+const scrollWrapper = computed(() => scrollContainerRef.value?.$refs.wrapRef);
 
 onMounted(() => {
   scrollWrapper.value?.addEventListener('scroll', emitScroll, true);
@@ -32,7 +33,7 @@
 const tagsViewStore = useTagsViewStore();
 const visitedViews = computed(() => tagsViewStore.visitedViews);
 
-const moveToTarget = (currentTag: TagView) => {
+const moveToTarget = (currentTag: RouteLocationNormalized) => {
   const $container = scrollContainerRef.value?.$el;
   const $containerWidth = $container.offsetWidth;
   const $scrollWrapper = scrollWrapper.value;

--
Gitblit v1.9.3