diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index 360c80a..f22db74 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -336,7 +336,7 @@ const footerClass = computed(() => { const isShowBottom=ref(false) onMounted(() => { scrollRef.value.addEventListener('scroll', function() { - if (scrollRef.value.scrollTop + scrollRef.value.clientHeight +100>= scrollRef.value.scrollHeight) { + if (scrollRef.value.scrollTop + scrollRef.value.clientHeight>= scrollRef.value.scrollHeight) { isShowBottom.value=false }else { isShowBottom.value=true