mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
perf: 再次点击滚动到未读条目
This commit is contained in:
parent
c13f65611f
commit
b0b7c63561
@ -278,8 +278,8 @@ export default {
|
||||
const dialog = this.dialogList.find(({unread}) => unread > 0)
|
||||
if (dialog) {
|
||||
$A.scrollToView(this.$refs[`dialog_${dialog.id}`][0], {
|
||||
behavior: 'instant',
|
||||
inline: 'end',
|
||||
behavior: 'smooth',
|
||||
scrollMode: 'if-needed',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user