s
This commit is contained in:
parent
3f99879fce
commit
ef0d0af2e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user