|
@ -271,6 +271,10 @@ const filterFormSchema = (crudSchema: CrudSchema[], allSchemas: AllSchemas): For |
|
|
comonentProps = { |
|
|
comonentProps = { |
|
|
options: options |
|
|
options: options |
|
|
} |
|
|
} |
|
|
|
|
|
// 可编辑字典-下拉框默认选中第一条数据 --喜婷
|
|
|
|
|
|
if(options.length>0&&!schemaItem.form?.componentProps?.disabled){ |
|
|
|
|
|
defaultValue = options[0].value |
|
|
|
|
|
} |
|
|
if (!(schemaItem.form && schemaItem.form.component)) component = 'Select' |
|
|
if (!(schemaItem.form && schemaItem.form.component)) component = 'Select' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|