FormData + XHR2 + FileReader + canvas. 【實現步驟】. 監聽一個input(type='file')的onchange事件,這樣獲取到文件file;; 將file轉成dataUrl; ...
確定! 回上一頁