The vue front-end needs to obtain the static images under the project directory (static) in batches and pass them to the back-end in the form of parameters.

example: you need to enter an image name in the input box, click the upload button to get the image in the project directory, and then upload it to the backend in the form of multipart/form-data. Since there is no place to click to open the file box, I don"t know how to get these pictures. The situation in the project is more complicated than this, and batch acquisition and upload need to be implemented.

clipboard.png

Jan.26,2022

1. If you can't, you can't get local files without using input (file), otherwise all your local materials will be stolen by others
2, and the file box can be used to select files in batch and upload them

.
Menu