It is necessary to do so: const formData = new FormData(); formData.append('avatar', file); api.post(url, formData);.
確定! 回上一頁