From d00634b12c1181153ac534e079978df4bf0c4353 Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期一, 01 七月 2024 11:53:15 +0800 Subject: [PATCH] lastElementChild --- src/components/chat/Chat.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index 45bc70b..930ab85 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -143,7 +143,7 @@ const scrollToBottom = () => { if (!chatListDom.value) return; - chatListDom.value.lasElementChild?.scrollIntoView(); + chatListDom.value.lastElementChild?.scrollIntoView(); }; let currentSectionId = null; let currentSampleId = null; -- Gitblit v1.9.3