mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Workflow session variables cannot be added (#3998)
This commit is contained in:
parent
f4ff796c9f
commit
5ed5d2786d
|
|
@ -84,12 +84,11 @@ function refreshFieldList(data: any, index: any) {
|
|||
return
|
||||
}
|
||||
}
|
||||
if (index !== undefined) {
|
||||
inputFieldList.value.splice(index, 1, data)
|
||||
} else {
|
||||
if ([undefined, null].includes(index)) {
|
||||
inputFieldList.value.push(data)
|
||||
} else {
|
||||
inputFieldList.value.splice(index, 1, data)
|
||||
}
|
||||
|
||||
ChatFieldDialogRef.value.close()
|
||||
props.nodeModel.graphModel.eventCenter.emit('chatFieldList')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue