在這邊我們會使用到一個 Canvas 的方法 toDataURL ,這個方法會回傳一個 dataUrl 字串,而我們就可以使用這個字串來做出下載的需求。 至於什麼是 dataUrl 呢,還記得一 ...
確定! 回上一頁