... file upload using XHR const fileUpload = (file) => { // Create FormData instance const fd = new FormData(); fd.append('avatar', file); ...
確定! 回上一頁