fix: workflow style

This commit is contained in:
wangdan-fit2cloud 2025-03-05 12:40:22 +08:00
parent 24f67a3c0f
commit 80d4442cd0
4 changed files with 3 additions and 4 deletions

View File

@ -139,7 +139,7 @@ export default {
hybridSearch: 'Hybrid Search',
hybridSearchTooltip:
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
similarityThreshold: 'Lowest Similarity',
similarityThreshold: 'Similarity higher than',
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
topReferences: 'Top N Segments',
maxCharacters: 'Maximum Characters per Reference',

View File

@ -377,6 +377,7 @@ function saveApplication(bool?: boolean, back?: boolean) {
.then((res) => {
saveTime.value = new Date()
if (bool) {
cloneWorkFlow.value = getGraphData()
MsgSuccess(t('common.saveSuccess'))
if (back) {
router.push({ path: `/application/${id}/WORK_FLOW/overview` })

View File

@ -180,7 +180,6 @@ import { isWorkFlow } from '@/utils/application'
import { ValidType, ValidCount } from '@/enums/common'
import { t } from '@/locales'
import useStore from '@/stores'
import { reject } from 'lodash'
const elUploadRef = ref<any>()
const { application, user, common } = useStore()

View File

@ -9,7 +9,6 @@
ref="replyNodeFormRef"
hide-required-asterisk
>
<el-scrollbar max-height="750" @wheel="wheel">
<template v-for="(item, index) in form_data.variable_list" :key="item.id">
<el-card shadow="never" class="card-never mb-8" style="--el-card-padding: 12px">
<el-form-item :label="$t('views.applicationWorkflow.variable.label')">
@ -139,7 +138,7 @@
</el-form-item>
</el-card>
</template>
</el-scrollbar>
<el-button link type="primary" @click="addVariable">
<el-icon class="mr-4">
<Plus />