修复消息中心滚动显示

This commit is contained in:
jxxghp
2026-06-14 21:32:14 +08:00
parent da0cd14af8
commit 0a7d53b5c7
2 changed files with 64 additions and 31 deletions

View File

@@ -78,7 +78,6 @@ watch(visible, async newValue => {
if (newValue) {
await nextTick()
messageViewRef.value?.resumeSSE?.()
messageViewRef.value?.forceScrollToEnd?.()
clearUnreadMessageState()
@@ -90,8 +89,6 @@ watch(visible, async newValue => {
onMounted(async () => {
await nextTick()
messageViewRef.value?.resumeSSE?.()
messageViewRef.value?.forceScrollToEnd?.()
clearUnreadMessageState()
})