From de234eeb7f15debc3b011d554b7ee84d2fa2a6c8 Mon Sep 17 00:00:00 2001 From: zhangzhanwei Date: Wed, 3 Jun 2026 17:16:45 +0800 Subject: [PATCH] fix: Collapse tags for multi tree-select in inline params --- .../ai-chat/component/inline-params/InlineFormItem.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/src/components/ai-chat/component/inline-params/InlineFormItem.vue b/ui/src/components/ai-chat/component/inline-params/InlineFormItem.vue index e686d12c9df..68b94f8647f 100644 --- a/ui/src/components/ai-chat/component/inline-params/InlineFormItem.vue +++ b/ui/src/components/ai-chat/component/inline-params/InlineFormItem.vue @@ -12,7 +12,7 @@
{{ switchLabel }} @@ -88,7 +88,11 @@ const itemValue = computed({ const attrs = computed(() => { const base = props.formfield.attrs || {} - if (props.formfield.input_type === 'MultiSelect' || props.formfield.input_type === 'Knowledge') { + if ( + props.formfield.input_type === 'MultiSelect' || + props.formfield.input_type === 'Knowledge' || + (props.formfield.input_type === 'TreeSelect' && base.multiple) + ) { return { ...base, 'collapse-tags': true,