Commit a20804ac authored by David黄金龙's avatar David黄金龙

删除 加载状态

parent 78b8770d
...@@ -119,10 +119,8 @@ class YHMessageDetailListVC: YHBaseViewController { ...@@ -119,10 +119,8 @@ class YHMessageDetailListVC: YHBaseViewController {
} }
func getMsgList() { func getMsgList() {
YHHUD.show(.progress(message: "加载中..."))
self.viewModel.getMsgDetailList(type: self.type) { self.viewModel.getMsgDetailList(type: self.type) {
[weak self] success, error in [weak self] success, error in
YHHUD.hide()
guard let self = self else { return } guard let self = self else { return }
msgArr.removeAll() msgArr.removeAll()
msgArr.append(contentsOf: self.viewModel.msgDetailList) msgArr.append(contentsOf: self.viewModel.msgDetailList)
......
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