mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 08:06:21 +08:00
feat: 首页推荐视频缓存
This commit is contained in:
@@ -89,8 +89,15 @@ class _HomePageState extends State<HomePage>
|
||||
);
|
||||
}
|
||||
} else {
|
||||
// 缓存数据
|
||||
if(_homeController.videoList.isNotEmpty) {
|
||||
return contentGrid(
|
||||
_homeController, _homeController.videoList);
|
||||
}
|
||||
// 骨架屏
|
||||
return contentGrid(_homeController, []);
|
||||
else{
|
||||
return contentGrid(_homeController, []);
|
||||
}
|
||||
}
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user