diff --git a/Yi.RuoYi.Vue3/src/layout/components/TagsView/ScrollPane.vue b/Yi.RuoYi.Vue3/src/layout/components/TagsView/ScrollPane.vue index 5b0db3e1..5c2977a0 100644 --- a/Yi.RuoYi.Vue3/src/layout/components/TagsView/ScrollPane.vue +++ b/Yi.RuoYi.Vue3/src/layout/components/TagsView/ScrollPane.vue @@ -15,7 +15,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)