To upload a single file in React, you need to set the content-type ... we can get it from the files array on the input: e.target.files[0] .
確定! 回上一頁