<Upload
name="file"
action="xxxx"
onChange={handleChange}
fileList={fileList}
headers={{ "Authorization": getToken() || "" }}
>
{headPic ?"" : uploadButton}
</Upload>
前端项目实战23-前端上传文件进行数据绑定用fileList
阅读 145
2022-08-27
<Upload
name="file"
action="xxxx"
onChange={handleChange}
fileList={fileList}
headers={{ "Authorization": getToken() || "" }}
>
{headPic ?"" : uploadButton}
</Upload>
相关推荐
精彩评论(0)