readAsDataURL () 解析<input>中的文件。這將在內存中創建一個包含圖像的base64表示的字符串。 <input type="file" accept="image/*" onchange="loadFile(event)"> ...
確定! 回上一頁