Skip to content

Commit 125e7b4

Browse files
committed
feat: Support switch input for application user params
--story=1017769 --user=刘瑞斌 【越秀农牧】希望用户输入可以添加一个开关组件 https://www.tapd.cn/57709429/s/1654429
1 parent e2728ce commit 125e7b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/workflow/nodes/base-node/component/UserFieldFormDialog.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ const inputTypeList = ref([
126126
{ label: t('dynamicsForm.input_type_list.SingleSelect'), value: 'SingleSelectConstructor' },
127127
{ label: t('dynamicsForm.input_type_list.MultiSelect'), value: 'MultiSelectConstructor' },
128128
{ label: t('dynamicsForm.input_type_list.RadioCard'), value: 'RadioCardConstructor' },
129-
{ label: t('dynamicsForm.input_type_list.DatePicker'), value: 'DatePickerConstructor' }
129+
{ label: t('dynamicsForm.input_type_list.DatePicker'), value: 'DatePickerConstructor' },
130+
{ label: t('dynamicsForm.input_type_list.SwitchInput'), value: 'SwitchInputConstructor' },
130131
])
131132
132133
const dialogVisible = ref<boolean>(false)

0 commit comments

Comments
 (0)