透過下面的方式,可以將欲上傳的檔案append 到FormData() 上:. let form = new FormData(); form.append("product[photos][]", e.target.files[i]).
確定! 回上一頁