问题点:Filereader中new Filereader.onload = function()为异步回调函数,reader中获取到的数据无法传递到主函数外部。 解决办法一:. 利用Promise对象的resolve和 ...
確定! 回上一頁