mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Optimize loop node
This commit is contained in:
parent
53082141cb
commit
177e58d295
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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') }}
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue