problems encountered while using the upload component of element-react.
first of all, there is the problem of upload parameters, which are optional parameters described in the data properties document, and the type is object.
when I write: data= {sourceType: "thumbnail"}, the error is as follows.
?
now the requirement is that uploaded images must take a parameter resourceType is thumbnail.