-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38b51d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
input 多了个 type="file",选择多个文件上传显示 共 undefined 个文件
38b51d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
修复了。还有个问题,那个大文件上传api不支持上传空文件,目前大小为0的文件会跳过上传,你看需不需要支持这种情况
38b51d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Onedrive 的官方网站也是不允许上传,有跳过提示就行
另外后端里的 abnormalWay 条件看了下没什么用可以删了;前端里挺多没用的注释比如下面也可以删了,是我这边改还是你改
38b51d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
小文件api是支持空文件的
https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_put_content?view=odsp-graph-online#example-upload-a-new-file
我把后端获取上传会话的函数改成批处理了,剩下的你改吧
38b51d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
torrent 文件预览我测试加载不成功删掉了,磁力链接测试可以加载,现在是如果想预览必须把磁力链接放到后缀是
.videomagnet
的文件里。这里有预览效果 https://logi.im/fodi.html?path=/Media