On the problem that the antd upload component will automatically carry the local path when uploading under IE

< H2 > about the problem that antd upload components automatically carry local paths when uploaded under IE < / H2 >

as shown in figure

under chrome:

clipboard.png

IE

clipboard.png

I don"t want filename to carry a local path. I haven"t tried many ways. Can you teach me one or two?

Jun.26,2022

have you solved


try this. If you encounter the same problem, use the following methods to solve

fileList.forEach(file => {
 formData.append('file', file,file.name);
});
.
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-1e77a5e-672.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-1e77a5e-672.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?