Browse Source

feat: add defaultValue

main
xingyu 2 years ago
parent
commit
c233dbcab3
  1. 1
      src/views/infra/codegen/components/data.ts

1
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)
},