fix: Workflow session variables cannot be added (#3998)
parent
f4ff796c9f
commit
5ed5d2786d
|
|
@ -84,12 +84,11 @@ function refreshFieldList(data: any, index: any) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (index !== undefined) {
|
if ([undefined, null].includes(index)) {
|
||||||
inputFieldList.value.splice(index, 1, data)
|
|
||||||
} else {
|
|
||||||
inputFieldList.value.push(data)
|
inputFieldList.value.push(data)
|
||||||
|
} else {
|
||||||
|
inputFieldList.value.splice(index, 1, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
ChatFieldDialogRef.value.close()
|
ChatFieldDialogRef.value.close()
|
||||||
props.nodeModel.graphModel.eventCenter.emit('chatFieldList')
|
props.nodeModel.graphModel.eventCenter.emit('chatFieldList')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue