Form

mapPropsToFields

export default Form.create({  mapPropsToFields: (props: any) => ({    workId: Form.createFormField({      value: props.data.workId    }),    orderId: Form.createFormField({      value: props.data.orderId    })  })})(Remark);Copy the code

When you use this method to map the fields in props to the form fields, the form resets when you save.

Requests use AXIos and Redux for loading management, so each request changes the state of loading in REdux, thus causing the form to be updated.

Why does this happen?