What are the problems encountered when uploading files by React?

problems encountered while using the upload component of Element-React.

state

Upload

If you know how to solve this problem, please give me your advice.

Mar.20,2021

write the type when initializing first:

form: {
    ...
    thumbnail: ""  []  {}
    ...
}

and then just cut the value directly. (or you need to describe the problem more clearly)

this.setState({
    ...
    thumbnail: response.body.ids
    ...
)}

in addition, values that do not need to be changed do not have to be renamed with setState, for example,

this.setState({
    form: {
        typeName: this.state.form.typeName,    // 
        thumbnail: response.body.ids
        }
})
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-1b31c56-40e01.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-1b31c56-40e01.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?