mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-12 19:51:39 +08:00
创建预授权URL后端日志记录
This commit is contained in:
@@ -349,6 +349,11 @@
|
||||
};
|
||||
xhr.onload = function (e) {
|
||||
console.log('上传成功', xhr.status, xhr.statusText);
|
||||
// 等待进度条走到 100% 否则小文件进度条还没有走完就提示上传完成会让人感觉有点奇怪
|
||||
setTimeout(function(){
|
||||
alert("上传成功!");
|
||||
window.location.reload();
|
||||
}, 300);
|
||||
};
|
||||
xhr.onerror = function (e) {
|
||||
console.log('上传出错', xhr.status, xhr.statusText);
|
||||
|
Reference in New Issue
Block a user