diff --git a/web/components/database/form-dialog.tsx b/web/components/database/form-dialog.tsx index 5a10bca7a..65cfd358d 100644 --- a/web/components/database/form-dialog.tsx +++ b/web/components/database/form-dialog.tsx @@ -121,13 +121,13 @@ function FormDialog({ open, choiceDBType, dbTypeList, editValue, dbNames, onClos const lockDBType = useMemo(() => !!editValue || !!choiceDBType, [editValue, choiceDBType]); return ( - +
- + { const item = omcDBList[index] as any; @@ -166,37 +166,37 @@ function FormDialog({ open, choiceDBType, dbTypeList, editValue, dbNames, onClos /> ) : ( - + )} {fileDb === true && ( - + )} {fileDb === false && form.getFieldValue('db_type') !== 'omc' && ( <> - + - + - + - + )} {form.getFieldValue('db_type') === 'omc' && ( - + )} - +