We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c69884 commit 51855c0Copy full SHA for 51855c0
1 file changed
ui/src/workflow/nodes/tool-base-node/component/input/InputFieldTable.vue
@@ -86,6 +86,14 @@ function deleteField(index: any) {
86
const currentIndex = ref<number | null>(null)
87
function refreshFieldList(data: any) {
88
if (currentIndex.value !== null) {
89
+ if (
90
+ inputFieldList.value
91
+ .filter((item, index) => index != currentIndex.value)
92
+ .some((field) => field.field == data.field)
93
+ ) {
94
+ MsgError(t('workflow.tip.paramErrorMessage') + data.field)
95
+ return
96
+ }
97
inputFieldList.value?.splice(currentIndex.value, 1, data)
98
} else {
99
if (inputFieldList.value.some((field) => field.field == data.field)) {
0 commit comments