fix: Optimize loop node

v3.2
wangdan-fit2cloud 2025-10-24 15:11:58 +08:00
parent 53082141cb
commit 177e58d295
6 changed files with 8 additions and 23 deletions

View File

@ -58,8 +58,8 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
:maxTableHeight="260" :maxTableHeight="260"
:row-key="(row: any) => row.id" :row-key="(row: any) => row.id"
:expand-row-keys="defaultExpandKeys"
style="min-width: 600px" style="min-width: 600px"
:expand-row-keys="defaultExpandKeys"
show-overflow-tooltip show-overflow-tooltip
> >
<el-table-column type="selection" width="55" :reserve-selection="true" /> <el-table-column type="selection" width="55" :reserve-selection="true" />

View File

@ -196,7 +196,7 @@ const toTree = (nodeList: any, pField: any) => {
const pNode = nodeMap[element[pField]] const pNode = nodeMap[element[pField]]
if (pNode) { if (pNode) {
if (!pNode.children) { if (!pNode.children) {
pNode.children = [] pNode.children = []
} }
pNode.children.push(element) pNode.children.push(element)
} }

View File

@ -40,12 +40,6 @@
</div> </div>
</div> </div>
</div> </div>
<div class="mt-16">
<el-text type="info">
<div>{{ $t('common.author') }}: MaxKB</div>
</el-text>
</div>
</div> </div>
<MdPreview <MdPreview
ref="editorRef" ref="editorRef"

View File

@ -45,12 +45,6 @@
</el-button> </el-button>
</div> </div>
</div> </div>
<div class="mt-16">
<el-text type="info">
<div>{{ $t('common.author') }}: MaxKB</div>
</el-text>
</div>
</div> </div>
<MdPreview <MdPreview
ref="editorRef" ref="editorRef"

View File

@ -31,9 +31,6 @@
</el-text> </el-text>
</template> </template>
<template #footer> <template #footer>
<span class="card-footer-left color-secondary">
{{ `${$t('common.author')}: MaxKB` }}
</span>
<div class="card-footer-operation mb-8" @click.stop> <div class="card-footer-operation mb-8" @click.stop>
<el-button @click="emit('handleDetail')"> <el-button @click="emit('handleDetail')">
{{ $t('common.detail') }} {{ $t('common.detail') }}

View File

@ -662,14 +662,14 @@ export const applicationLoopMenuNodes = [
list: [ list: [
aiChatNode, aiChatNode,
intentNode, intentNode,
questionNode,
imageGenerateNode,
videoUnderstandNode,
imageUnderstandNode,
textToSpeechNode, textToSpeechNode,
speechToTextNode, speechToTextNode,
imageGenerateNode,
imageUnderstandNode,
textToVideoNode, textToVideoNode,
imageToVideoNode, imageToVideoNode,
videoUnderstandNode,
questionNode,
], ],
}, },
{ {
@ -678,11 +678,11 @@ export const applicationLoopMenuNodes = [
}, },
{ {
label: t('views.applicationWorkflow.nodes.classify.businessLogic'), label: t('views.applicationWorkflow.nodes.classify.businessLogic'),
list: [conditionNode, formNode, variableAssignNode, replyNode, loopContinueNode, loopBreakNode], list: [conditionNode, formNode, replyNode, loopContinueNode, loopBreakNode],
}, },
{ {
label: t('views.applicationWorkflow.nodes.classify.dataProcessing', '数据处理'), label: t('views.applicationWorkflow.nodes.classify.dataProcessing', '数据处理'),
list: [variableSplittingNode, parameterExtractionNode], list: [variableAssignNode, variableSplittingNode, parameterExtractionNode],
}, },
{ {
label: t('views.applicationWorkflow.nodes.classify.other'), label: t('views.applicationWorkflow.nodes.classify.other'),