mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: workflow style
This commit is contained in:
parent
24f67a3c0f
commit
80d4442cd0
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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` })
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Reference in New Issue