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

处理element-plus版本升级导致的bug

Signed-off-by: tyjctl <419999127@qq.com>
This commit is contained in:
tyjctl
2024-04-11 09:32:50 +00:00
committed by Gitee
parent 0faa1aecad
commit 29d4bebdca

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)