feat: 用户信息缓存

This commit is contained in:
guozhigq
2023-05-19 23:48:09 +08:00
parent 13cecf5b84
commit 006f22bbb6
4 changed files with 34 additions and 21 deletions

View File

@ -90,12 +90,12 @@ class _HomePageState extends State<HomePage>
}
} else {
// 缓存数据
if(_homeController.videoList.isNotEmpty) {
if (_homeController.videoList.length > 1) {
return contentGrid(
_homeController, _homeController.videoList);
}
// 骨架屏
else{
else {
return contentGrid(_homeController, []);
}
}