mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: The selected variable of the variable assignment node in advanced orchestration does not echo (#3819)
This commit is contained in:
parent
47c51c9466
commit
1d53b768ac
|
|
@ -90,7 +90,11 @@ const validate = () => {
|
|||
defineExpose({ validate })
|
||||
onMounted(() => {
|
||||
options.value = props.global
|
||||
? props.nodeModel.get_up_node_field_list(false, true).filter((v: any) => v.value === 'global')
|
||||
? props.nodeModel
|
||||
.get_up_node_field_list(false, true)
|
||||
.filter(
|
||||
(v: any) => ['global', 'chat'].includes(v.value) && v.children && v.children.length > 0,
|
||||
)
|
||||
: props.nodeModel.get_up_node_field_list(false, true)
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ class AppNode extends HtmlResize.view {
|
|||
if (props.model.properties.noRender) {
|
||||
delete props.model.properties.noRender
|
||||
} else {
|
||||
console.log('ss', props.model.properties.stepName)
|
||||
console.log(props.graphModel.nodes, this)
|
||||
props.model.properties.stepName = getNodeName(
|
||||
props.graphModel.nodes.filter((node: any) => node.id !== props.model.id),
|
||||
props.model.properties.stepName,
|
||||
|
|
|
|||
Loading…
Reference in New Issue