Commit e78e7fe9 authored by Steven杜宇's avatar Steven杜宇

// 文件清单

parent ee3d2bc6
...@@ -563,6 +563,8 @@ extension YHMyFileListViewController { ...@@ -563,6 +563,8 @@ extension YHMyFileListViewController {
if lastRow < 0 { if lastRow < 0 {
lastRow = 0 lastRow = 0
} }
self.tableView.setContentOffset(CGPointZero, animated: true)
self.fakeTableView.setContentOffset(CGPoint.zero, animated: false)
self.fakeTableView.scrollToRow(at: IndexPath(row: lastRow, section: lastSection), at: .top, animated: true) self.fakeTableView.scrollToRow(at: IndexPath(row: lastRow, section: lastSection), at: .top, animated: true)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment