如果浏览器支持FileReader,完全可以实现的。 大致代码如下:. var target = document.querySelector('#file-button'); target.onchange = function(e) { var reader ...
確定! 回上一頁