mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复应用编排自定义函数,数据未清空 (#1487)
This commit is contained in:
parent
9da3d7a9ec
commit
2cb8d26609
|
|
@ -96,7 +96,6 @@ const split_md_img_ = (source: string) => {
|
|||
return md_img_list[Math.floor(index / 2)]
|
||||
}
|
||||
})
|
||||
console.log(result)
|
||||
return result
|
||||
}
|
||||
const split_quick_question = (result: Array<string>) => {
|
||||
|
|
|
|||
|
|
@ -197,8 +197,8 @@ function deleteField(index: any) {
|
|||
function refreshFieldList(data: any) {
|
||||
const list = cloneDeep(props.nodeModel.properties.node_data.input_field_list)
|
||||
const obj = {
|
||||
value: data.source === 'reference' ? [] : '',
|
||||
...data
|
||||
...data,
|
||||
value: data.source === 'reference' ? [] : ''
|
||||
}
|
||||
if (currentIndex.value !== null) {
|
||||
list.splice(currentIndex.value, 1, obj)
|
||||
|
|
|
|||
Loading…
Reference in New Issue