From 4758b344a8ae3a4571002ea9fe280cd81d93573b Mon Sep 17 00:00:00 2001 From: li-shengren-123456 Date: Tue, 11 Mar 2025 14:05:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E6=94=BE?= =?UTF-8?q?=E7=BC=A9=E4=B8=8B=E6=8B=89=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8C=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/conversation.ts | 1 - src/views/createapp/components/CustomControl.vue | 14 ++++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/store/conversation.ts b/src/store/conversation.ts index f3c5024d..e6f518be 100644 --- a/src/store/conversation.ts +++ b/src/store/conversation.ts @@ -561,7 +561,6 @@ export const useSessionStore = defineStore('conversation', () => { regenerateInd ?? undefined, ); } - await getConversation(currentSelectedSession); }; /** * 暂停流式返回 diff --git a/src/views/createapp/components/CustomControl.vue b/src/views/createapp/components/CustomControl.vue index adb8d13d..19dcf069 100644 --- a/src/views/createapp/components/CustomControl.vue +++ b/src/views/createapp/components/CustomControl.vue @@ -105,30 +105,28 @@ watch( .controlChange { width: 120px; - height: 177px; + height: 194px; border: unset !important; border-radius: 8px !important; box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1) !important; background: var(--o-bg-color-base) !important; margin-left: -34px; margin-bottom: 6px; + .el-scrollbar__wrap { + border-radius: 8px; + } .el-dropdown-menu__item { - height: 16px; + height: 24px; padding-left: 16px !important; min-height: unset !important; font-size: 12px; - line-height: 16px; + line-height: 24px; color: var(--o-text-color-secondary); } .reduce { margin-top: 4px; } - .reduce, - .amplify, - .scaleOther { - margin-bottom: 8px; - } .scaleTwice { margin-bottom: 4px; -- Gitee From 8e051ae7c88b9bd24ab35422277e8b8cac9fac04 Mon Sep 17 00:00:00 2001 From: li-shengren-123456 Date: Tue, 11 Mar 2025 14:21:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8C=B9=E9=85=8D=E7=94=B1nodeId=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2=E4=B8=BAcallId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/createapp/components/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/createapp/components/types.ts b/src/views/createapp/components/types.ts index 785b3591..a5211254 100644 --- a/src/views/createapp/components/types.ts +++ b/src/views/createapp/components/types.ts @@ -81,7 +81,7 @@ export const getNodeClass = (node) => { // 默认类名 let defaultClass = 'systemNode'; iconTypeList.forEach(item => { - if (item.value === node?.nodeId) { + if (item.value === node?.callId) { defaultClass = item.class; } }) @@ -93,7 +93,7 @@ export const getSrcIcon = (node) => { // 默认的图标 let defaultIcon = nodeTypeToIcon.TASK_CHOICE; iconTypeList.forEach(item => { - if (item.value === node?.nodeId) { + if (item.value === node?.callId) { defaultIcon = item.icon; } }) -- Gitee