diff --git a/ui/src/components/markdown/MdRenderer.vue b/ui/src/components/markdown/MdRenderer.vue index 84861afe3..9a9952f46 100644 --- a/ui/src/components/markdown/MdRenderer.vue +++ b/ui/src/components/markdown/MdRenderer.vue @@ -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) => { diff --git a/ui/src/workflow/nodes/function-node/index.vue b/ui/src/workflow/nodes/function-node/index.vue index 5f3b8d906..db080245f 100644 --- a/ui/src/workflow/nodes/function-node/index.vue +++ b/ui/src/workflow/nodes/function-node/index.vue @@ -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)