mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-08 01:00:36 +08:00
优化消息弹窗的滚动逻辑
This commit is contained in:
@@ -81,8 +81,8 @@ async function loadMessages({ done }: { done: any }) {
|
||||
|
||||
// 合并数据
|
||||
messages.value = [...currData.value, ...messages.value]
|
||||
// 首次加载时滚动到底部
|
||||
if (page.value === 1) {
|
||||
// 首次加载时滚动到底部
|
||||
emit('scroll')
|
||||
}
|
||||
// 页码+1
|
||||
|
||||
Reference in New Issue
Block a user