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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user