fix: Fixed interface parameter transmission not displaying during debugging (#2969)

This commit is contained in:
wangdan-fit2cloud 2025-04-24 11:24:44 +08:00 committed by GitHub
parent b1f6092620
commit b5b09dc8b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,7 +162,10 @@ const initialApiFormData = ref({})
const isUserInput = computed(
() =>
props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0]
.properties.user_input_field_list.length > 0
.properties.user_input_field_list.length > 0 ||
(props.type === 'debug-ai-chat' &&
props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0]
.properties.api_input_field_list.length > 0)
)
const showUserInputContent = computed(() => {
return ((isUserInput.value && firsUserInput.value) || showUserInput.value) && props.type !== 'log'