-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Contact Information
MaxKB Version
社区版
Problem Description
创建应用后演示页面无法打开,前端报错Cannot read properties of undefined (reading 'properties')
Steps to Reproduce
创建应用后演示页面无法打开
vue端报报错如下
The expected correct result
在163行之后改成以下内容
const isUserInput = computed(() => {
return (
props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0]
?.properties.user_input_field_list.length > 0
)
})
const isAPIInput = computed(() => {
return (
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
)
})
Related log output
Additional Information
No response