... onloadend 當讀取操作完成時調用,不管是成功還是失敗 29 30 let base64 = e.target.result; 31 32 console.log(base64); //輸出base64 33 34 }; 35 36 fileReader.
確定! 回上一頁