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

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