|
|
|
@@ -10,9 +10,10 @@ import { |
|
|
|
} from '../../constant'; |
|
|
|
import { useBuildFormSelectOptions } from '../../form-hooks'; |
|
|
|
import { useBuildComponentIdSelectOptions } from '../../hooks/use-get-begin-query'; |
|
|
|
import { IOperatorForm, ISwitchForm } from '../../interface'; |
|
|
|
import { IOperatorForm } from '../../interface'; |
|
|
|
import { getOtherFieldValues } from '../../utils'; |
|
|
|
|
|
|
|
import { ISwitchForm } from '@/interfaces/database/flow'; |
|
|
|
import styles from './index.less'; |
|
|
|
|
|
|
|
const SwitchForm = ({ onValuesChange, node, form }: IOperatorForm) => { |
|
|
|
@@ -88,7 +89,10 @@ const SwitchForm = ({ onValuesChange, node, form }: IOperatorForm) => { |
|
|
|
) |
|
|
|
} |
|
|
|
</Form.Item> |
|
|
|
<Form.Item label={t('flow.to')} name={[field.name, 'to']}> |
|
|
|
<Form.Item |
|
|
|
label={t('flow.nextStep')} |
|
|
|
name={[field.name, 'to']} |
|
|
|
> |
|
|
|
<Select |
|
|
|
allowClear |
|
|
|
options={buildCategorizeToOptions([ |