About element-react upload uploading resources?

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.

How should I write

?
now the requirement is that uploaded images must take a parameter resourceType is thumbnail.

Mar.20,2021

declare a variable data: {resourceType: 'thumbnail'}
Upload in state and write data= {this.state.data}

in it.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea069f-4788d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea069f-4788d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?