# 文件交互

# 预览图片

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

reader.onload = function (e) {
    $('#blah').attr('src', e.target.result);
}
Last Updated: 12/15/2023, 8:18:50 AM