抱歉...这个问题太傻了。
看起来像是一个错字:应该是.onload而不是.onLoad。
.onload
.onLoad
文档中的示例(请注意=符号):
=
reader.onload = function(event) { // The file's text will be printed here console.log(event.target.result) };
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
点击生成二维码
我来说两句