The front end can change the name of the file?

new File (); pass in three parameters. Although the second parameter can pass in the changed file name, the size of the reconstructed file object is obviously different from that uploaded?

Jan.26,2022

was originally written in the change event, and the second parameter must be written like this:

//new Date().getTime()
var file = new File([files[0]], new Date().getTime() + "_pic.jpg", {
            type: files[0].type
});
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-1eb6ec3-261a.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-1eb6ec3-261a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?