bugfix: 从dressfor跳转对话自动发送消息

This commit is contained in:
zhangyahui
2025-11-20 14:29:41 +08:00
parent 8a34b8049e
commit 5d0de60498
3 changed files with 21 additions and 16 deletions

View File

@@ -83,10 +83,10 @@ const sendPrefilledMessage = () => {
onMounted(() => {
sessionId.value = Math.floor(Date.now() / 1000).toString()
generateStore.setSessionId(sessionId.value)
sendPrefilledMessage()
})
onActivated(() => {
sendPrefilledMessage()
noticeListRef.value?.scrollToBottom()
})