From 7a10686a327e26b2f9a208ff06c85cc662ea4eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Wed, 23 Nov 2022 15:58:14 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AScrollPane=E7=BB=84=E4=BB=B6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/TagsView/ScrollPane.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/components/TagsView/ScrollPane.vue b/src/layout/components/TagsView/ScrollPane.vue index 7e00a0c..a765e91 100644 --- a/src/layout/components/TagsView/ScrollPane.vue +++ b/src/layout/components/TagsView/ScrollPane.vue @@ -10,7 +10,7 @@ import useTagsViewStore from '@/store/modules/tagsView' const tagAndTagSpacing = ref(4) const { proxy } = getCurrentInstance() -const scrollWrapper = computed(() => proxy.$refs.scrollContainer.$refs.wrap$) +const scrollWrapper = computed(() => proxy.$refs.scrollContainer.$refs.wrapRef) onMounted(() => { scrollWrapper.value.addEventListener('scroll', emitScroll, true) @@ -80,7 +80,7 @@ function moveToTarget(currentTag) { } defineExpose({ - moveToTarget, + moveToTarget })