!11 update Yi.RuoYi.Vue3/src/layout/components/TagsView/ScrollPane.vue.

Merge pull request !11 from tyjctl/N/A
This commit is contained in:
橙子
2024-04-15 00:47:49 +00:00
committed by Gitee

View File

@@ -15,7 +15,7 @@ import useTagsViewStore from '@/store/modules/tagsView'
const tagAndTagSpacing = ref(4); const tagAndTagSpacing = ref(4);
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const scrollWrapper = computed(() => proxy.$refs.scrollContainer.$refs.wrap$); const scrollWrapper = computed(() => proxy.$refs.scrollContainer.$refs.wrapRef);
onMounted(() => { onMounted(() => {
scrollWrapper.value.addEventListener('scroll', emitScroll, true) scrollWrapper.value.addEventListener('scroll', emitScroll, true)