mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 06:46:40 +08:00
### What problem does this PR solve? Fix: Search app AI summary ERROR And The tag set cannot be selected #9649 #9652 - Search app AI summary ERROR: 'dict' object has no attribute 'split' #9649 - fix The tag set cannot be selected in the knowledge base. #9652 - Added custom parameter options to the LlmSettingFieldItems component - Adjusted the document preview height to improve page layout adaptability ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -209,8 +209,10 @@ export const MultiSelect = React.forwardRef<
|
||||
const [isAnimating, setIsAnimating] = React.useState(false);
|
||||
|
||||
React.useEffect(() => {
|
||||
setSelectedValues(defaultValue);
|
||||
}, [defaultValue]);
|
||||
if (selectedValues === undefined) {
|
||||
setSelectedValues(defaultValue);
|
||||
}
|
||||
}, [defaultValue, selectedValues]);
|
||||
|
||||
const flatOptions = React.useMemo(() => {
|
||||
return options.flatMap((option) =>
|
||||
|
||||
Reference in New Issue
Block a user