# 文件交互

# 预览图片

var reader = new FileReader();
reader.readAsDataURL(input.files[0]);

reader.onload = function (e) {
    $('#blah').attr('src', e.target.result);
}
Last Updated: 5/14/2022, 11:38:45 AM