From c233dbcab3fe267ecb1da2454016aa16cc1c099e Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 24 May 2023 17:25:10 +0800 Subject: [PATCH] feat: add defaultValue --- src/views/infra/codegen/components/data.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/infra/codegen/components/data.ts b/src/views/infra/codegen/components/data.ts index 873b3097..d4e26a68 100644 --- a/src/views/infra/codegen/components/data.ts +++ b/src/views/infra/codegen/components/data.ts @@ -58,6 +58,7 @@ export const basicInfoSchemas: FormSchema[] = [ field: 'templateType', required: true, component: 'Select', + defaultValue: '30', componentProps: { options: getDictOptions(DICT_TYPE.INFRA_CODEGEN_TEMPLATE_TYPE) },