fix: After adding parameters to the variable splitting parameter extraction node, the subsequent node parameters were not updated (#4231)

This commit is contained in:
shaohuzhang1 2025-10-22 16:02:06 +08:00 committed by GitHub
parent 678122fe9e
commit c4526afb1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -94,6 +94,7 @@ function deleteField(index: any) {
...inputFieldList.value.map((item) => ({ label: item.label, value: item.field })),
]
set(props.nodeModel.properties.config, 'fields', fields)
props.nodeModel.clear_next_node_field(false)
}
function refreshFieldList(data: any, index: any) {
@ -117,6 +118,7 @@ function refreshFieldList(data: any, index: any) {
...inputFieldList.value.map((item) => ({ label: item.label, value: item.field })),
]
set(props.nodeModel.properties.config, 'fields', fields)
props.nodeModel.clear_next_node_field(false)
}
onMounted(() => {

View File

@ -17,11 +17,7 @@
row-key="field"
class="border-l border-r"
>
<el-table-column
prop="field"
:label="$t('common.variable')"
width="95"
>
<el-table-column prop="field" :label="$t('common.variable')" width="95">
<template #default="{ row }">
<span :title="row.field" class="ellipsis-1">{{ row.field }}</span>
</template>
@ -84,6 +80,7 @@ function deleteField(index: any) {
...inputFieldList.value.map((item) => ({ label: item.label, value: item.field })),
]
set(props.nodeModel.properties.config, 'fields', fields)
props.nodeModel.clear_next_node_field(false)
}
function refreshFieldList(data: any, index: any) {
@ -107,6 +104,7 @@ function refreshFieldList(data: any, index: any) {
...inputFieldList.value.map((item) => ({ label: item.label, value: item.field })),
]
set(props.nodeModel.properties.config, 'fields', fields)
props.nodeModel.clear_next_node_field(false)
}
onMounted(() => {