摘要: const xhr = new XMLHttpRequest(); xhr.upload.onprogress = function(e) { // lengthComputable 是一个布尔值 判断当前资料是否可计算长度 if (e.lengthComputable) { // loaded 代 阅读全文
posted @ 2021-03-07 18:18 天使佳少 阅读(127) 评论(0) 推荐(0)