fix: Optimize loop node
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
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"
:maxTableHeight="260"
:row-key="(row: any) => row.id"
:expand-row-keys="defaultExpandKeys"
style="min-width: 600px"
:expand-row-keys="defaultExpandKeys"
show-overflow-tooltip
>
<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]]
if (pNode) {
if (!pNode.children) {
pNode.children = []
pNode.children = []
}
pNode.children.push(element)
}

View File

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

View File

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

View File

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

View File

@ -662,14 +662,14 @@ export const applicationLoopMenuNodes = [
list: [
aiChatNode,
intentNode,
questionNode,
imageGenerateNode,
videoUnderstandNode,
imageUnderstandNode,
textToSpeechNode,
speechToTextNode,
imageGenerateNode,
imageUnderstandNode,
textToVideoNode,
imageToVideoNode,
videoUnderstandNode,
questionNode,
],
},
{
@ -678,11 +678,11 @@ export const applicationLoopMenuNodes = [
},
{
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', '数据处理'),
list: [variableSplittingNode, parameterExtractionNode],
list: [variableAssignNode, variableSplittingNode, parameterExtractionNode],
},
{
label: t('views.applicationWorkflow.nodes.classify.other'),