diff --git a/ui/src/workflow/common/NodeCascader.vue b/ui/src/workflow/common/NodeCascader.vue index b546d3eb5..c67977bbd 100644 --- a/ui/src/workflow/common/NodeCascader.vue +++ b/ui/src/workflow/common/NodeCascader.vue @@ -23,25 +23,11 @@ const props = defineProps<{ nodeModel: any }>() -const options = ref>([ - { - value: 'global', - label: '全局变量', - type: 'global', - children: [] - } -]) +const options = ref>([]) function visibleChange(bool: boolean) { if (bool) { - options.value = [ - { - value: 'global', - label: '全局变量', - type: 'global', - children: [] - } - ] + options.value = [] getIncomingNode(props.nodeModel.id) } }