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

// 待完善清单

parent 197c47b3
......@@ -545,7 +545,10 @@ extension YHMyFileListViewController {
let lastSection = self.items.count-1
if 0 <= lastSection && lastSection < self.items.count {
let model = self.items[lastSection]
let lastRow = model.supplement_list.count-1
var lastRow = model.supplement_list.count-1
if lastRow < 0 {
lastRow = 0
}
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