From 194190de7b94f893e085e17ab2c70c5993e111ab Mon Sep 17 00:00:00 2001 From: 1zzxy1 <1535960104@qq.com> Date: Fri, 27 Mar 2026 03:21:06 +0800 Subject: [PATCH] fix(webui): handle history wheel on preview container --- dashboard/src/views/ConversationPage.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dashboard/src/views/ConversationPage.vue b/dashboard/src/views/ConversationPage.vue index 3d25855f32..111a822026 100644 --- a/dashboard/src/views/ConversationPage.vue +++ b/dashboard/src/views/ConversationPage.vue @@ -198,7 +198,9 @@ -
+
mdi-chat-remove @@ -1052,6 +1054,13 @@ export default { return parts; }, + // Manually handle wheel scrolling inside the dialog preview container. + onContainerWheel(event) { + const el = this.$refs.messagesContainer; + if (!el) return; + el.scrollTop += event.deltaY; + }, + // 从内容中提取文本(保留用于其他用途) extractTextFromContent(content) { if (typeof content === 'string') {