Element-ui upload how can only one upload but can overwrite upload ah?

the project requires uploading files, but only one file can be uploaded. I set limit to 1 and found that I can"t continue to upload and overwrite the previous file. Then I set it to 2, and then I judge when the second file is uploaded. If you already have a file, you are prompted to delete the uploaded file, so how to set it to upload only one file, and you can overwrite the previously uploaded file

Dec.23,2021

are you using the wrong example? the document is very clear. Do you think this example can't meet your needs? Take a closer look.
clipboard.png


on-change first erase the original picture

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-1b40916-2c516.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-1b40916-2c516.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?