Commit ee169470 authored by Alex朱枝文's avatar Alex朱枝文

一处圆角处理优化

parent a5b73ddd
......@@ -259,7 +259,7 @@ extension YHHKRecordsSummaryVC: UITableViewDelegate, UITableViewDataSource {
case .occupyingSpace:
if let cell = tableView.dequeueReusableCell(withIdentifier: YHHKRecordsOccupyingSpaceCell.cellReuseIdentifier) as? YHHKRecordsOccupyingSpaceCell {
let isShow = indexPath.row == model.subItems.count && (indexPath.section != datas.count - 1)
let isBottom = indexPath.section == datas.count - 1
let isBottom = indexPath.section == datas.count - 1 && indexPath.row == model.subItems.count
cell.setupCellInfo(isShow, isBottom: isBottom)
return cell
}
......
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