Skip to content

Commit 177e58d

Browse files
fix: Optimize loop node
1 parent 5308214 commit 177e58d

File tree

6 files changed

+8
-23
lines changed

6 files changed

+8
-23
lines changed

ui/src/views/system/resource-authorization/component/PermissionTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
@selection-change="handleSelectionChange"
5959
:maxTableHeight="260"
6060
:row-key="(row: any) => row.id"
61-
:expand-row-keys="defaultExpandKeys"
6261
style="min-width: 600px"
62+
:expand-row-keys="defaultExpandKeys"
6363
show-overflow-tooltip
6464
>
6565
<el-table-column type="selection" width="55" :reserve-selection="true" />

ui/src/views/system/resource-authorization/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const toTree = (nodeList: any, pField: any) => {
196196
const pNode = nodeMap[element[pField]]
197197
if (pNode) {
198198
if (!pNode.children) {
199-
pNode.children = []
199+
pNode.children = []
200200
}
201201
pNode.children.push(element)
202202
}

ui/src/views/tool/component/ToolStoreDescDrawer.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@
4040
</div>
4141
</div>
4242
</div>
43-
44-
<div class="mt-16">
45-
<el-text type="info">
46-
<div>{{ $t('common.author') }}: MaxKB</div>
47-
</el-text>
48-
</div>
4943
</div>
5044
<MdPreview
5145
ref="editorRef"

ui/src/views/tool/toolStore/InternalDescDrawer.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@
4545
</el-button>
4646
</div>
4747
</div>
48-
49-
<div class="mt-16">
50-
<el-text type="info">
51-
<div>{{ $t('common.author') }}: MaxKB</div>
52-
</el-text>
53-
</div>
5448
</div>
5549
<MdPreview
5650
ref="editorRef"

ui/src/views/tool/toolStore/ToolCard.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
</el-text>
3232
</template>
3333
<template #footer>
34-
<span class="card-footer-left color-secondary">
35-
{{ `${$t('common.author')}: MaxKB` }}
36-
</span>
3734
<div class="card-footer-operation mb-8" @click.stop>
3835
<el-button @click="emit('handleDetail')">
3936
{{ $t('common.detail') }}

ui/src/workflow/common/data.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,14 +662,14 @@ export const applicationLoopMenuNodes = [
662662
list: [
663663
aiChatNode,
664664
intentNode,
665-
questionNode,
666-
imageGenerateNode,
667-
videoUnderstandNode,
668-
imageUnderstandNode,
669665
textToSpeechNode,
670666
speechToTextNode,
667+
imageGenerateNode,
668+
imageUnderstandNode,
671669
textToVideoNode,
672670
imageToVideoNode,
671+
videoUnderstandNode,
672+
questionNode,
673673
],
674674
},
675675
{
@@ -678,11 +678,11 @@ export const applicationLoopMenuNodes = [
678678
},
679679
{
680680
label: t('views.applicationWorkflow.nodes.classify.businessLogic'),
681-
list: [conditionNode, formNode, variableAssignNode, replyNode, loopContinueNode, loopBreakNode],
681+
list: [conditionNode, formNode, replyNode, loopContinueNode, loopBreakNode],
682682
},
683683
{
684684
label: t('views.applicationWorkflow.nodes.classify.dataProcessing', '数据处理'),
685-
list: [variableSplittingNode, parameterExtractionNode],
685+
list: [variableAssignNode, variableSplittingNode, parameterExtractionNode],
686686
},
687687
{
688688
label: t('views.applicationWorkflow.nodes.classify.other'),

0 commit comments

Comments
 (0)