<Upload
name="file"
action="xxxx"
onChange={handleChange}
fileList={fileList}
headers={{ "Authorization": getToken() || "" }}
>
{headPic ?"" : uploadButton}
</Upload>
标签:实战,23,前端,绑定,fileList,上传
From: https://www.cnblogs.com/yao-655442/p/16629135.html