The action of elementUI upload component upload is required, can it satisfy clicking the save button and then interacting with the server?

clipboard.png

requirements:
you want to select all the image resources first, and then interact with the server in batches when you click save.
currently, action is required, indicating that every time you select a file, you have to interact with the server, and then send it to the server before clicking save.
can I use elementUI to upload the component upload to meet my needs

Mar.21,2021

Upload has an auto-upload attribute, which can be manually uploaded to link description

by setting it to false.

refer to the last example of the document


action can fill in any useless variable, but it cannot be empty. Then in the before-upload event, get the file you want to upload, save it and return false, it, and then get the file you just saved in your save event and upload it

.
Menu