Commit 59fe9fe9 authored by 刘俊宏's avatar 刘俊宏

569 iOS:各内容列表,补充“暂无内容”的提示,如订单管理列表为空时。不要显示只显示“点击或上拉加载更多”

parent aaaac4f0
......@@ -149,7 +149,11 @@ class GoodsManageListVC: BaseViewController, UICollectionViewDelegate, UICollect
})
}, completion: nil)
}
if dataM.data?.count == 0 {
self.collection?.mj_footer?.endRefreshingWithNoMoreData()
}else{
self.collection?.mj_footer?.endRefreshing()
}
}) { (error) in
self.collection?.mj_header?.endRefreshing()
}
......
......@@ -93,6 +93,11 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
})
}, completion: nil)
if dataM.data?.count == 0 {
self.tableV?.mj_footer?.endRefreshingWithNoMoreData()
}else{
self.tableV?.mj_footer?.endRefreshing()
}
}) { (error) in
self.tableV?.mj_header?.endRefreshing()
......
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