Feat: Put buildSelectOptions to common-util.ts #3221 (#7875)

### What problem does this PR solve?

Feat: Put buildSelectOptions to common-util.ts #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-05-27 11:44:54 +08:00
committed by GitHub
parent 959793e83c
commit 590070e47d
3 changed files with 4 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import { RAGFlowSelect } from '@/components/ui/select';
import { Switch } from '@/components/ui/switch';
import { Textarea } from '@/components/ui/textarea';
import { FormTooltip } from '@/components/ui/tooltip';
import { buildSelectOptions } from '@/utils/common-util';
import { buildSelectOptions } from '@/utils/component-util';
import { Plus } from 'lucide-react';
import { useCallback } from 'react';
import { useWatch } from 'react-hook-form';