|
@@ -234,15 +234,15 @@ class MVHomeController: MVBaseController {
|
|
|
} else {
|
|
|
if(MVHotVideoModel.getCacheData().count == 0){
|
|
|
self?.showNetworkError(isHidden: false)
|
|
|
+ }else{
|
|
|
+
|
|
|
+ let cacheData = MVHotVideoModel.getCacheData()
|
|
|
+ if(cacheData.count > 0){
|
|
|
+ BFLog(message: "有缓存数据 ")
|
|
|
+ self?.refreshData(hotVideos: cacheData)
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
- let cacheData = MVHotVideoModel.getCacheData()
|
|
|
- if(cacheData.count > 0){
|
|
|
- BFLog(message: "有缓存数据 ")
|
|
|
- self?.refreshData(hotVideos: cacheData)
|
|
|
- }
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|