-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
离线下载优化 #119
离线下载优化 #119
Conversation
xb2016
commented
Jun 22, 2022
•
edited
Loading
edited
- 修复离线下载页面已完成任务 "打开存放目录" 跳转到根目录 (离线下载页面, 点击 "打开存放目录" 没有打开实际的存放目录而是跳转到了根目录 Cloudreve#798)
- 任务详情使用虚拟列表改善性能 ([3.5.2] 针对当前版本的一些体验性问题与建议 Cloudreve#1246)
- 关闭用户组离线下载权限时隐藏侧边栏离线下载按钮
</Table> | ||
</div> | ||
<TableVirtuoso | ||
style={{ height: 85 * activeFiles().length }} |
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.
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.
确实高度不固定,所以我在想要不要直接全部固定高度,不计算了
</TableBody> | ||
</Table> | ||
</div> | ||
<TableVirtuoso |
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.
className={classes.scroll} | ||
components={{ | ||
// eslint-disable-next-line react/display-name | ||
TableRow: (props) => { |
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.
TableRow: (props) => { | |
Table: (props) => ( | |
<Table | |
size={"small"} // size 是small | |
{...props} | |
/> | |
), | |
TableRow: (props) => { |
<> | ||
<TableCell | ||
component="th" | ||
scope="row" |
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.
67a3121
to
9c72cbc
Compare
Merged, thanks! |