体验环境

This commit is contained in:
zengqiao
2023-02-27 18:43:48 +08:00
parent 77b87f1dbe
commit aa35965d7a
11 changed files with 78 additions and 20 deletions

View File

@@ -58,7 +58,14 @@ export const LoginForm: React.FC<any> = (props) => {
{FormMap.map((formItem) => {
return (
<Row key={formItem.key}>
<Form.Item key={formItem.key} name={formItem.key} label={formItem.label} rules={formItem.rules} style={{ width: '100%' }}>
<Form.Item
key={formItem.key}
name={formItem.key}
label={formItem.label}
rules={formItem.rules}
initialValue={formItem.initialValue}
style={{ width: '100%' }}
>
{renderFormItem(formItem)}
</Form.Item>
</Row>