diff --git a/src/store/conversation.ts b/src/store/conversation.ts index f3c5024d6c648ce0ec630d1178dc0939b0b448dd..e6f518be8ab4ccc8569ff578b4458920879cb214 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 adb8d13dd5a9bd5d0577492073552b62908edd3c..19dcf069c03de4577d6c58239758d7eb0d07a471 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; diff --git a/src/views/createapp/components/types.ts b/src/views/createapp/components/types.ts index 785b3591370e3deed06cb054b681f08ee19f1676..a5211254c5529050ca24a430de599adfcff8acfd 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; } })