|
|
1
10
前端不能这样做。 您需要的是使用后端并在其中返回文件。
您将NodeJs用作后端,因此可以使用
fs。readdir公司
fs。readdirSync
阅读全文 documenation ,它可能会帮助您了解如何继续。 |