Javascript FileReader挂在readyState 1上(使用react-dropzone)

皮姆·海登

抱歉...这个问题太傻了。

萨吉夫堡

看起来像是一个错字:应该是.onload而不是.onLoad

文档中的示例(请注意=符号):

reader.onload = function(event) {
    // The file's text will be printed here
    console.log(event.target.result)
  };

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章