Skip to content

Commit 80d4442

Browse files
fix: workflow style
1 parent 24f67a3 commit 80d4442

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

ui/src/locales/lang/en-US/views/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default {
139139
hybridSearch: 'Hybrid Search',
140140
hybridSearchTooltip:
141141
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
142-
similarityThreshold: 'Lowest Similarity',
142+
similarityThreshold: 'Similarity higher than',
143143
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
144144
topReferences: 'Top N Segments',
145145
maxCharacters: 'Maximum Characters per Reference',

ui/src/views/application-workflow/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ function saveApplication(bool?: boolean, back?: boolean) {
377377
.then((res) => {
378378
saveTime.value = new Date()
379379
if (bool) {
380+
cloneWorkFlow.value = getGraphData()
380381
MsgSuccess(t('common.saveSuccess'))
381382
if (back) {
382383
router.push({ path: `/application/${id}/WORK_FLOW/overview` })

ui/src/views/application/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ import { isWorkFlow } from '@/utils/application'
180180
import { ValidType, ValidCount } from '@/enums/common'
181181
import { t } from '@/locales'
182182
import useStore from '@/stores'
183-
import { reject } from 'lodash'
184183
185184
const elUploadRef = ref<any>()
186185
const { application, user, common } = useStore()

ui/src/workflow/nodes/variable-assign-node/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
ref="replyNodeFormRef"
1010
hide-required-asterisk
1111
>
12-
<el-scrollbar max-height="750" @wheel="wheel">
1312
<template v-for="(item, index) in form_data.variable_list" :key="item.id">
1413
<el-card shadow="never" class="card-never mb-8" style="--el-card-padding: 12px">
1514
<el-form-item :label="$t('views.applicationWorkflow.variable.label')">
@@ -139,7 +138,7 @@
139138
</el-form-item>
140139
</el-card>
141140
</template>
142-
</el-scrollbar>
141+
143142
<el-button link type="primary" @click="addVariable">
144143
<el-icon class="mr-4">
145144
<Plus />

0 commit comments

Comments
 (0)