From 2fd1464ccb7ecc8cb9ca40019294c8076db3e117 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 27 Dec 2024 16:45:54 +0800 Subject: [PATCH] fix: required default false MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1050885 --user=刘瑞斌 【应用编排】添加用户输入参数,直接触发默认值必填校验 https://www.tapd.cn/57709429/s/1638132 --- .../workflow/nodes/base-node/component/UserFieldFormDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/workflow/nodes/base-node/component/UserFieldFormDialog.vue b/ui/src/workflow/nodes/base-node/component/UserFieldFormDialog.vue index 2ba7792c3..96636f09a 100644 --- a/ui/src/workflow/nodes/base-node/component/UserFieldFormDialog.vue +++ b/ui/src/workflow/nodes/base-node/component/UserFieldFormDialog.vue @@ -110,7 +110,7 @@ const currentRow = computed(() => { return currentItem.value } } else { - return { input_type: 'TextInput', required: true, attrs: { maxlength: 20, minlength: 0 } } + return { input_type: 'TextInput', required: false, attrs: { maxlength: 20, minlength: 0 } } } }) const currentIndex = ref(null)