if you click to upload a folder, you can add webkitdirectory
attribute to input, but drag and drop the upload folder, I can"t find a satisfactory answer all over the network. The closest answer is to get the data. Here is demo: https://wicg.github.io/direct...
but cannot get the path to the file, that is, webkitRelativePath
this problem has been bothering me for a long time, so I have to turn to the community for help. If it is impossible to achieve, please let me know, or if there are other ways, please do not hesitate to give me advice.