Commit 7836af56 authored by David黄金龙's avatar David黄金龙

修改一处 UI 展示

parent d75b022d
......@@ -68,13 +68,14 @@ class YHCertificateViewModel: YHBaseViewModel {
item?.supplement_list = arr ?? []
}
var arr = resultModel.filter { (item) -> Bool in
if let ttt = item,ttt.supplement_list.count > 0 {
return true
}
return false
}
// var arr = resultModel.filter { (item) -> Bool in
// if let ttt = item,ttt.supplement_list.count > 0 {
// return true
// }
// return false
// }
var arr = resultModel
//添加 写死的数据类型
let tmpModel = YHFileListModel()
......@@ -229,7 +230,7 @@ class YHCertificateViewModel: YHBaseViewModel {
self.updateCertificates(params: params) {
[weak self] success, error in
guard let self = self else { return }
guard self != nil else { return }
callBack?(success, error)
}
}
......
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