opt: search page

This commit is contained in:
guozhigq
2024-10-19 13:29:18 +08:00
parent fa79b92f82
commit c755e8a60f
6 changed files with 138 additions and 95 deletions

View File

@ -45,6 +45,8 @@ class GlobalDataCache {
late List<double> speedsList;
// 用户信息
UserInfoData? userInfo;
// 搜索历史
late List historyCacheList;
// 私有构造函数
GlobalDataCache._();
@ -105,5 +107,6 @@ class GlobalDataCache {
userInfo = userInfoCache.get('userInfoCache');
sheetHeight = localCache.get('sheetHeight');
historyCacheList = localCache.get('cacheList', defaultValue: []);
}
}