<Form name="basic" style={{width: '400px'}} onFinish={onFinish} autoComplete="off" > <Form.Item label="修改用户名:" name="username"> <Input placeholder='请输入新用户名' /> </Form.Item> <Form.Item label="修 改 密 码:" name="password"> <Input.Password placeholder='请输入新密码' /> </Form.Item> <Form.Item> <Button type="primary" htmlType="submit" style={{float: 'right'}}>提交</Button> </Form.Item> </Form>