1212
This commit is contained in:
parent
8736155e64
commit
df372ad14e
@ -635,7 +635,6 @@ watch(
|
|||||||
rootMargin: '50px 0px'
|
rootMargin: '50px 0px'
|
||||||
}
|
}
|
||||||
observer = new IntersectionObserver(handleIntersection, options)
|
observer = new IntersectionObserver(handleIntersection, options)
|
||||||
|
|
||||||
// 重新观察所有消息元素
|
// 重新观察所有消息元素
|
||||||
const messageElements = document.querySelectorAll('.message-item')
|
const messageElements = document.querySelectorAll('.message-item')
|
||||||
messageElements.forEach((el) => {
|
messageElements.forEach((el) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user