From e3ce969cc55de21a2f757f0886e3e0ddf34bed62 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 4 Nov 2026 23:27:26 +0800 Subject: [PATCH] fix: conversation rename --- .../global/markdown-editor/md-editor.scss | 4 +- .../items/table/ProgressTableItem.vue | 20 +----- .../items/table/TableCheckbox.vue | 24 +------- .../items/table/TableRadio.vue | 24 +------- .../simple-debug}/history-popover/index.vue | 17 ++---- .../components/header/simple-debug/index.vue | 4 +- .../left-sidebar/account-menu/index.vue | 8 +-- .../left-sidebar/conversation-list/index.vue | 61 ++++++++++++++++--- .../HistoryConversationDrawer.vue | 1 + ui/src/styles/element-plus.scss | 11 ++-- 10 files changed, 75 insertions(+), 99 deletions(-) rename ui/src/conversation-panel/components/{ => header/simple-debug}/history-popover/index.vue (90%) diff --git a/ui/src/components/global/markdown-editor/md-editor.scss b/ui/src/components/global/markdown-editor/md-editor.scss index 399706b976c..60a473579bb 100644 --- a/ui/src/components/global/markdown-editor/md-editor.scss +++ b/ui/src/components/global/markdown-editor/md-editor.scss @@ -7,7 +7,7 @@ --md-scrollbar-thumb-hover-color: var(--el-scrollbar-hover-bg-color, var(--el-text-color-secondary)); border-radius: var(--el-border-radius-base); font-weight: 400; - line-height: 22px; + line-height: var(--mk-line-height-base); font-family: var(--mk-font-family) !important; height: 130px; @@ -98,7 +98,7 @@ p { padding: 0 !important; margin: 0 !important; - line-height: 22px !important; + line-height: var(--mk-line-height-base) !important; } sup[data-title] { diff --git a/ui/src/components/mk-dynamics-form/items/table/ProgressTableItem.vue b/ui/src/components/mk-dynamics-form/items/table/ProgressTableItem.vue index ca89f562c61..6b3873f0e2b 100644 --- a/ui/src/components/mk-dynamics-form/items/table/ProgressTableItem.vue +++ b/ui/src/components/mk-dynamics-form/items/table/ProgressTableItem.vue @@ -40,28 +40,14 @@ const viewCards = computed(() => { - + diff --git a/ui/src/components/mk-dynamics-form/items/table/TableCheckbox.vue b/ui/src/components/mk-dynamics-form/items/table/TableCheckbox.vue index bf675f5de21..6d65a332f0e 100644 --- a/ui/src/components/mk-dynamics-form/items/table/TableCheckbox.vue +++ b/ui/src/components/mk-dynamics-form/items/table/TableCheckbox.vue @@ -166,26 +166,4 @@ const activeText = computed(() => { - + diff --git a/ui/src/components/mk-dynamics-form/items/table/TableRadio.vue b/ui/src/components/mk-dynamics-form/items/table/TableRadio.vue index 762d97c7af0..90d1e73809d 100644 --- a/ui/src/components/mk-dynamics-form/items/table/TableRadio.vue +++ b/ui/src/components/mk-dynamics-form/items/table/TableRadio.vue @@ -156,26 +156,4 @@ const activeText = computed(() => { - + diff --git a/ui/src/conversation-panel/components/history-popover/index.vue b/ui/src/conversation-panel/components/header/simple-debug/history-popover/index.vue similarity index 90% rename from ui/src/conversation-panel/components/history-popover/index.vue rename to ui/src/conversation-panel/components/header/simple-debug/history-popover/index.vue index 75673b337a6..1cd4f882f9f 100644 --- a/ui/src/conversation-panel/components/history-popover/index.vue +++ b/ui/src/conversation-panel/components/header/simple-debug/history-popover/index.vue @@ -12,6 +12,8 @@ defineOptions({ name: 'HistoryPopover' }) const conversationList = useConversationListStore() const visible = ref(false) const clearing = ref(false) +// 菜单挂在历史浮层内、滚动区外,避免裁切并保留外层点击判断。 +const historyMenuTarget = ref() // 每次打开重新加载第一页,滚动到底部时续载。 const handleShow = () => conversationList.loadConversations() @@ -55,15 +57,7 @@ function handleClearConversations() {