await loadCache

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-09-24 17:56:35 +08:00
parent fcbd48648c
commit a437524c8f
3 changed files with 4 additions and 6 deletions

View File

@@ -478,7 +478,7 @@ class AbModel {
}
}
loadCache() async {
Future<void> loadCache() async {
try {
if (_cacheLoadOnceFlag || abLoading.value || initialized) return;
_cacheLoadOnceFlag = true;